diff options
-rw-r--r-- | init/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c index ad9ff9404..258a7fa6b 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -219,7 +219,10 @@ static void message(int device, const char *fmt, ...) | |||
219 | { | 219 | { |
220 | va_list arguments; | 220 | va_list arguments; |
221 | int l; | 221 | int l; |
222 | char msg[1024]; | 222 | char msg[1024]; |
223 | #ifndef CONFIG_SYSLOGD | ||
224 | static int log_fd = -1; | ||
225 | #endif | ||
223 | 226 | ||
224 | msg[0] = '\r'; | 227 | msg[0] = '\r'; |
225 | va_start(arguments, fmt); | 228 | va_start(arguments, fmt); |
@@ -236,7 +239,6 @@ static void message(int device, const char *fmt, ...) | |||
236 | msg[l++] = '\n'; | 239 | msg[l++] = '\n'; |
237 | msg[l] = 0; | 240 | msg[l] = 0; |
238 | #else | 241 | #else |
239 | static int log_fd = -1; | ||
240 | 242 | ||
241 | msg[l++] = '\n'; | 243 | msg[l++] = '\n'; |
242 | msg[l] = 0; | 244 | msg[l] = 0; |