summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index 14cea39e..3e942e1d 100644
--- a/init/init.c
+++ b/init/init.c
@@ -171,7 +171,7 @@ run (char *server, mach_port_t *ports, task_t *task)
getchar ();
err = file_exec (file, *task, 0,
NULL, 0, /* No args. */
- NULL, 0, /* No env. */
+ "", 1, /* No env. */
default_dtable, MACH_MSG_TYPE_COPY_SEND, 3,
ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
NULL, 0, /* No info in init ints. */
@@ -221,7 +221,7 @@ run_for_real (char *filename)
getchar ();
err = file_exec (file, task, 0,
NULL, 0, /* No args. */
- NULL, 0, /* No env. */
+ "", 1, /* No env. */
default_dtable, MACH_MSG_TYPE_COPY_SEND, 3,
default_ports, MACH_MSG_TYPE_COPY_SEND,
INIT_PORT_MAX,