← Commit list

22237017a

Eric Andersen
Eric Andersen
2003-01-23
SOURCE BUG Duration: 2s

Subject

Fix a silly compile error, thanks to a patch from Wen-chien Jesse Sung

SOURCE BUG

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)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

init/init.c+4 -2
@@ -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;