summaryrefslogtreecommitdiffstats
path: root/loader/init.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-10-12 06:33:47 +0000
committerMatt Wilson <msw@redhat.com>1999-10-12 06:33:47 +0000
commit900f83af5bf8e5e12f8764256f33a155a40f3a8a (patch)
treeafce92f6755b959cecafc1ba65447fb9de0fc960 /loader/init.c
parente806bc1383ec6c4b7e02bfa220f6e737b1e05e23 (diff)
downloadanaconda-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.c1
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);