summaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
diff options
context:
space:
mode:
authorRob Landley2006-09-11 01:34:21 +0000
committerRob Landley2006-09-11 01:34:21 +0000
commit49ea46667ffbaac7d3dc26f49720b98d4ac19af8 (patch)
treea955f5ced33678da1bc2545210196332bc6dd598 /sysklogd/syslogd.c
parent69674941ddf3a522772d4d9709b302e80bc6719e (diff)
downloadbusybox-49ea46667ffbaac7d3dc26f49720b98d4ac19af8.zip
busybox-49ea46667ffbaac7d3dc26f49720b98d4ac19af8.tar.gz
Build fixes for gcc 4.0 with -Werror, from Tito.
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index f3de046..9a5a04a 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -258,7 +258,7 @@ void circ_message(const char *msg);
static void message(char *fmt, ...) __attribute__ ((format(printf, 1, 2)));
static void message(char *fmt, ...)
{
- int fd;
+ int fd = -1;
struct flock fl;
va_list arguments;