summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorErik Andersen2000-04-06 08:06:36 +0000
committerErik Andersen2000-04-06 08:06:36 +0000
commit93d6513d9315fa72d7af4ac2435f8c1e243273cb (patch)
treea7642802cbab4053e62cf13f2daa194c524da2e1 /sysklogd
parent7a4b7194864e67f512dac1081f244d3c07a0eca2 (diff)
downloadbusybox-93d6513d9315fa72d7af4ac2435f8c1e243273cb.zip
busybox-93d6513d9315fa72d7af4ac2435f8c1e243273cb.tar.gz
Some more minor updates to better use some gcc attributes.
-Erik
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 464d784..5d6d2a0 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/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;