diff options
-rw-r--r-- | init.c | 2 | ||||
-rw-r--r-- | init/init.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -886,7 +886,7 @@ extern int init_main(int argc, char **argv) | |||
886 | setsid(); | 886 | setsid(); |
887 | 887 | ||
888 | /* Make sure PATH is set to something sane */ | 888 | /* Make sure PATH is set to something sane */ |
889 | putenv(_PATH_STDPATH); | 889 | putenv("PATH="_PATH_STDPATH); |
890 | 890 | ||
891 | /* Hello world */ | 891 | /* Hello world */ |
892 | #ifndef DEBUG_INIT | 892 | #ifndef DEBUG_INIT |
diff --git a/init/init.c b/init/init.c index 0620e1ea1..52ee6777a 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -886,7 +886,7 @@ extern int init_main(int argc, char **argv) | |||
886 | setsid(); | 886 | setsid(); |
887 | 887 | ||
888 | /* Make sure PATH is set to something sane */ | 888 | /* Make sure PATH is set to something sane */ |
889 | putenv(_PATH_STDPATH); | 889 | putenv("PATH="_PATH_STDPATH); |
890 | 890 | ||
891 | /* Hello world */ | 891 | /* Hello world */ |
892 | #ifndef DEBUG_INIT | 892 | #ifndef DEBUG_INIT |