summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-10-06 14:50:27 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-10-06 14:50:27 +0000
commita7d4a95100f44948ad5c59c85f03a009f385bcfb (patch)
tree11f1517b4073acb72fd878ccaf248e93c272d79f /sys
parent67735399559f6e1e976692fca64c74ddc4c1c96a (diff)
use syslog format for syslog, now that release is past...
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/syslog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h
index 8fff01d966f..de01e69ab52 100644
--- a/sys/sys/syslog.h
+++ b/sys/sys/syslog.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslog.h,v 1.7 2002/03/14 01:27:14 millert Exp $ */
+/* $OpenBSD: syslog.h,v 1.8 2002/10/06 14:50:26 espie Exp $ */
/* $NetBSD: syslog.h,v 1.14 1996/04/03 20:46:44 christos Exp $ */
/*
@@ -201,13 +201,13 @@ void closelog(void);
void openlog(const char *, int, int);
int setlogmask(int);
void syslog(int, const char *, ...)
- __attribute__((__format__(__printf__,2,3)));
+ __attribute__((__format__(__syslog__,2,3)));
void vsyslog(int, const char *, _BSD_VA_LIST_);
void closelog_r(struct syslog_data *);
void openlog_r(const char *, int, int, struct syslog_data *);
int setlogmask_r(int, struct syslog_data *);
void syslog_r(int, struct syslog_data *, const char *, ...)
- __attribute__((__format__(__printf__,3,4)));
+ __attribute__((__format__(__syslog__,3,4)));
void vsyslog_r(int, struct syslog_data *, const char *,
_BSD_VA_LIST_);
__END_DECLS