← Commit list

17662801e

Denys Vlasenko
Denys Vlasenko
2010-07-30
FAILED Duration: 40s

Subject

cttyhack: make it survive WERROR build

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/cttyhack.c+1 -1
@@ -58,7 +58,7 @@
//usage: "\nStarting interactive shell from boot shell script:"
//usage: "\n setsid cttyhack sh"
-#if !defined(__linux__) && !defined(TIOCGSERIAL)
+#if !defined(__linux__) && !defined(TIOCGSERIAL) && !ENABLE_WERROR
# warning cttyhack will not be able to detect a controlling tty on this system
#endif