diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-06 15:17:45 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-06 15:17:45 +0000 |
commit | 7a0fe43f3d437b041d2c38090520bfa48040992f (patch) | |
tree | 0fa3b0fdbe6a3b957852a6528d84b13fef17179d /loader/init.c | |
parent | 8acbd990cb6061f9bfcf80f81d6d342bca6f850d (diff) | |
download | anaconda-7a0fe43f3d437b041d2c38090520bfa48040992f.tar.gz anaconda-7a0fe43f3d437b041d2c38090520bfa48040992f.tar.xz anaconda-7a0fe43f3d437b041d2c38090520bfa48040992f.zip |
alpha changes
Diffstat (limited to 'loader/init.c')
-rw-r--r-- | loader/init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/loader/init.c b/loader/init.c index fbadc2c42..085556b20 100644 --- a/loader/init.c +++ b/loader/init.c @@ -56,7 +56,7 @@ #define ENV_TERM 3 #define ENV_DEBUG 4 -char * environ[] = { +char * env[] = { "PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sbin:/mnt/usr/sbin:" "/mnt/bin:/mnt/usr/bin", "LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R6/lib:/mnt/lib:/mnt/usr/lib", @@ -106,7 +106,7 @@ int doMke2fs(char * device, char * size) { if (!(pid = fork())) { /* child */ - execve("/usr/bin/mke2fs", args, environ); + execve("/usr/bin/mke2fs", args, env); fatal_error(1); } @@ -341,7 +341,7 @@ int setupTerminal(int fd) { fatal_error(1); } - environ[ENV_TERM] = "TERM=vt100"; + env[ENV_TERM] = "TERM=vt100"; return 0; } @@ -572,7 +572,7 @@ int main(void) { *argvp++ = "/sbin/loader"; printf("running %s\n", argv[0]); - execve(argv[0], argv, environ); + execve(argv[0], argv, env); exit(0); } |