[BusyBox-cvs] busybox/init init.c,1.180,1.181
Erik Andersen
andersen at codepoet.org
Thu Jan 23 07:08:29 UTC 2003
Update of /var/cvs/busybox/init
In directory winder:/tmp/cvs-serv32324/init
Modified Files:
init.c
Log Message:
Fix a silly compile error, thanks to a patch from Wen-chien Jesse Sung
Index: init.c
===================================================================
RCS file: /var/cvs/busybox/init/init.c,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -d -r1.180 -r1.181
--- init.c 13 Jan 2003 22:09:48 -0000 1.180
+++ init.c 23 Jan 2003 07:08:26 -0000 1.181
@@ -219,7 +219,10 @@
{
va_list arguments;
int l;
- char msg[1024];
+ char msg[1024];
+#ifndef CONFIG_SYSLOGD
+ static int log_fd = -1;
+#endif
msg[0] = '\r';
va_start(arguments, fmt);
@@ -236,7 +239,6 @@
msg[l++] = '\n';
msg[l] = 0;
#else
- static int log_fd = -1;
msg[l++] = '\n';
msg[l] = 0;
More information about the busybox-cvs
mailing list