aboutsummaryrefslogtreecommitdiff
path: root/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/syslogd.c b/syslogd.c
index 464d7846e..5d6d2a0dd 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -75,6 +75,8 @@ static const char syslogd_usage[] =
/* Note: There is also a function called "message()" in init.c */
/* Print a message to the log file. */
static void message(char *fmt, ...)
+ __attribute__ ((format (printf, 1, 2)));
+static void message(char *fmt, ...)
{
int fd;
va_list arguments;