aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2006-07-16 14:53:42 +0200
committerWilly Tarreau <willy@wtap.(none)>2006-07-26 11:51:24 +0200
commit6324cd94c270f74816dd0f19b8c4e0eed3da63de (patch)
treeca981d1aab6fd354a08e46fcc6db111054621730
parent[RELEASE] flxutils-0.1.24 (diff)
downloadflxutils-6324cd94c270f74816dd0f19b8c4e0eed3da63de.tar.gz
[RELEASE] flxutils-0.1.25v0.1.25
-rw-r--r--ChangeLog5
-rw-r--r--init/init.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ebd629..0884096 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -75,3 +75,8 @@
2004/11/21
- flx : fix build with gcc-3.3
+
+2004/12/07
+ - removed debugging defines from init which prevented it from working anymore
+ in 0.1.24
+
diff --git a/init/init.c b/init/init.c
index 0f6cf8b..ab97ece 100644
--- a/init/init.c
+++ b/init/init.c
@@ -1154,7 +1154,7 @@ int main(int argc, char **argv, char **envp) {
* can safely ignore and overwrite /dev in case of linuxrc, reason why
* we don't test the presence of /dev/console.
*/
-#if 0
+#ifndef I_AM_REALLY_DEBUGGING
if (linuxrc || stat(dev_console, &statf) == -1) {
print("init/info: /dev/console not found, rebuilding /dev.\n");
if (mount(dev_name, dev_name, tmpfs_fs, MS_MGC_VAL, dev_options) == -1)