summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEric Andersen2001-02-23 00:05:56 +0000
committerEric Andersen2001-02-23 00:05:56 +0000
commit41492d6c2371e8afafec67ad30657ab939ed2d70 (patch)
tree7500a7caa9017089bb732ac0fdd5fe1bf4b9c221 /init
parentc163e5107f0af0f395f9998ee195896f6fa1b2e1 (diff)
downloadbusybox-41492d6c2371e8afafec67ad30657ab939ed2d70.zip
busybox-41492d6c2371e8afafec67ad30657ab939ed2d70.tar.gz
I should be more careful...
Diffstat (limited to 'init')
-rw-r--r--init/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index 4284600..0620e1e 100644
--- a/init/init.c
+++ b/init/init.c
@@ -93,8 +93,9 @@ static const int RB_AUTOBOOT = 0x01234567;
#endif
#endif
-#undef _PATH_STDPATH
+#ifndef _PATH_STDPATH
#define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
+#endif
#if defined BB_FEATURE_INIT_COREDUMPS
@@ -133,7 +134,8 @@ static _syscall2(int, bdflush, int, func, int, data);
#define INIT_SCRIPT "/etc/init.d/rcS" /* Default sysinit script. */
#endif
-static const int MAXENV = 16; /* Number of env. vars */
+#define MAXENV 16 /* Number of env. vars */
+//static const int MAXENV = 16; /* Number of env. vars */
static const int LOG = 0x1;
static const int CONSOLE = 0x2;