diff options
author | Matt Wilson <msw@redhat.com> | 2000-01-06 15:00:40 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-01-06 15:00:40 +0000 |
commit | 77e10526955536dcc65b8fc484360a2e634f649e (patch) | |
tree | 3768427b6362cd60c99c1b4cb00f4aa1a5cf21a7 /loader/init.c | |
parent | 2f5364beda5b899fccb1d4d95e378db0ae1a545b (diff) | |
download | anaconda-77e10526955536dcc65b8fc484360a2e634f649e.tar.gz anaconda-77e10526955536dcc65b8fc484360a2e634f649e.tar.xz anaconda-77e10526955536dcc65b8fc484360a2e634f649e.zip |
merge from Alpha/SPARC branch
Diffstat (limited to 'loader/init.c')
-rw-r--r-- | loader/init.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/loader/init.c b/loader/init.c index 37482bd78..1bbd29105 100644 --- a/loader/init.c +++ b/loader/init.c @@ -58,9 +58,9 @@ char * env[] = { "PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sysimage/usr/bin:" - "/mnt/sysimage/usr/bin:/mnt/sysimage/usr/sbin:/mnt/sysimage/sbin", + "/mnt/sysimage/usr/bin:/mnt/sysimage/usr/sbin:/mnt/sysimage/sbin", "LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R6/lib:/mnt/usr/lib:" - "/mnt/sysimage/lib:/mnt/sysimage/usr/lib", + "/mnt/sysimage/lib:/mnt/sysimage/usr/lib", "HOME=/", "TERM=linux", "DEBUG=", @@ -99,7 +99,7 @@ void fatal_error(int usePerror) { } int doMke2fs(char * device, char * size) { - char * args[] = { "/usr/bin/mke2fs", NULL, NULL, NULL }; + char * args[] = { "/usr/sbin/mke2fs", NULL, NULL, NULL }; int pid, status; args[1] = device; @@ -107,7 +107,7 @@ int doMke2fs(char * device, char * size) { if (!(pid = fork())) { /* child */ - execve("/usr/bin/mke2fs", args, env); + execve("/usr/sbin/mke2fs", args, env); fatal_error(1); } @@ -498,7 +498,7 @@ int main(int argc, char **argv) { setsid(); if (ioctl(0, TIOCSCTTY, NULL)) { - printf("could not set new controlling tty"); + printf("could not set new controlling tty\n"); } if (!testing) { |