summaryrefslogtreecommitdiff
path: root/include/sys/syslog.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-06 06:34:45 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-06 06:34:45 +0000
commit50a38ecd19c8fc022c3c90b32646b3e0cd7adc49 (patch)
tree06f783596ec9500c55e3b06de9b28b2cf81e6e85 /include/sys/syslog.h
parent7502d7850f53059f341ec07e860b6297157e817c (diff)
sync with glibc
Diffstat (limited to 'include/sys/syslog.h')
-rw-r--r--include/sys/syslog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sys/syslog.h b/include/sys/syslog.h
index ace88a097..cbbc31e19 100644
--- a/include/sys/syslog.h
+++ b/include/sys/syslog.h
@@ -168,7 +168,7 @@ CODE facilitynames[] =
__BEGIN_DECLS
-/* Close desriptor used to write to system logger.
+/* Close descriptor used to write to system logger.
This function is a possible cancellation point and therefore not
marked with __THROW. */
@@ -188,7 +188,7 @@ extern int setlogmask (int __mask) __THROW;
This function is a possible cancellation point and therefore not
marked with __THROW. */
extern void syslog (int __pri, __const char *__fmt, ...)
- __attribute__ ((__format__(__printf__, 2, 3)));
+ __attribute__ ((__format__ (__printf__, 2, 3)));
#ifdef __USE_BSD
/* Generate a log message using FMT and using arguments pointed to by AP.
@@ -198,7 +198,7 @@ extern void syslog (int __pri, __const char *__fmt, ...)
or due to the implementation it is a cancellation point and
therefore not marked with __THROW. */
extern void vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap)
- __attribute__ ((__format__(__printf__, 2, 0)));
+ __attribute__ ((__format__ (__printf__, 2, 0)));
#endif
__END_DECLS