diff options
author | 2002-10-06 14:50:26 +0000 | |
---|---|---|
committer | 2002-10-06 14:50:26 +0000 | |
commit | 9d0df08dcd61916dc2619fedd336d1c21c887074 (patch) | |
tree | 0f389234f6fe5e28df122de70a2764399c6d65d1 | |
parent | match php 4, too, in the example, j@pureftpd.org (diff) | |
download | wireguard-openbsd-9d0df08dcd61916dc2619fedd336d1c21c887074.tar.xz wireguard-openbsd-9d0df08dcd61916dc2619fedd336d1c21c887074.zip |
use syslog format for syslog, now that release is past...
-rw-r--r-- | sys/sys/syslog.h | 6 |
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 |