summaryrefslogtreecommitdiffstats
path: root/syslogd.h
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.h')
-rw-r--r--syslogd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslogd.h b/syslogd.h
index 655c01fc..40efdb81 100644
--- a/syslogd.h
+++ b/syslogd.h
@@ -49,7 +49,7 @@
#define ADDDATE 0x004 /* add a date to the message */
#define MARK 0x008 /* this message is a mark */
-void dbgprintf(char *, ...);
+void dbgprintf(char *, ...) __attribute__((format(printf, 1, 2)));
void logerror(char *type);
void logerrorSz(char *type, char *errMsg);
void logerrorInt(char *type, int iErr);