commit | 22237017a7abee1bc6c664c255a783e9dfe2b037 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Thu Jan 23 07:08:26 2003 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Thu Jan 23 07:08:26 2003 +0000 |
tree | 237f1ec56b2047cb6ba553126d29172f2874e9cc | |
parent | ee9441f8489509be7e96beb624c2d19feda7eb30 [diff] |
Fix a silly compile error, thanks to a patch from Wen-chien Jesse Sung
diff --git a/init/init.c b/init/init.c index ad9ff94..258a7fa 100644 --- a/init/init.c +++ b/init/init.c
@@ -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;