Fix a silly compile error, thanks to a patch from Wen-chien Jesse Sung
This commit was genuinely broken at the time (not related to our build system): sysdeps/linux/Config.in "fileutils/Config.in" dosyasini kaynak gosteriyor ama bu dosya repoda hic var olmadi (2002-12-05 - 2003-02-15 arasi orijinal yazar hatasi, 3238ea167 ile duzeltildi)
No binary (build failed)
—
(log yok)
| @@ -219,7 +219,10 @@ static void message(int device, const char *fmt, ...) | |
| { | |
| 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 @@ static void message(int device, const char *fmt, ...) | |
| msg[l++] = '\n'; | |
| msg[l] = 0; | |
| #else | |
| - | static int log_fd = -1; |
| msg[l++] = '\n'; | |
| msg[l] = 0; | |