diff options
author | Matt Wilson <msw@redhat.com> | 1999-10-12 06:33:47 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-10-12 06:33:47 +0000 |
commit | 900f83af5bf8e5e12f8764256f33a155a40f3a8a (patch) | |
tree | afce92f6755b959cecafc1ba65447fb9de0fc960 /loader/init.c | |
parent | e806bc1383ec6c4b7e02bfa220f6e737b1e05e23 (diff) | |
download | anaconda-900f83af5bf8e5e12f8764256f33a155a40f3a8a.tar.gz anaconda-900f83af5bf8e5e12f8764256f33a155a40f3a8a.tar.xz anaconda-900f83af5bf8e5e12f8764256f33a155a40f3a8a.zip |
how the HELL did this ever work? NULL terminate argument list
Diffstat (limited to 'loader/init.c')
-rw-r--r-- | loader/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/init.c b/loader/init.c index 8ebb77eaa..37482bd78 100644 --- a/loader/init.c +++ b/loader/init.c @@ -575,6 +575,7 @@ int main(int argc, char **argv) { if (!(installpid = fork())) { /* child */ *argvp++ = "/sbin/loader"; + *argvp++ = NULL; printf("running %s\n", argvc[0]); execve(argvc[0], argvc, env); |