[PATCH] one more fix for make defconfig in syslogd

Tito farmatito at tiscali.it
Sun Sep 10 21:12:35 UTC 2006


Hi,
a new error popped for make defconfig; make with gcc 4.0

make
  CC sysklogd/syslogd.o
cc1: warnings being treated as errors
/root/Desktop/busybox.test/sysklogd/syslogd.c: In function ‘message’:
/root/Desktop/busybox.test/sysklogd/syslogd.c:261: warning: ‘fd’ may be used uninitialized in this function
make[1]: *** [/root/Desktop/busybox.test/sysklogd/syslogd.o] Error 1
make: *** [_all] Error 2

This patch should fix it.
The patch is only compile tested.


Ciao,
Tito
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslogd.patch
Type: text/x-diff
Size: 327 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060910/af9626d5/attachment-0002.bin 


More information about the busybox mailing list