summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-10-24 20:49:02 +0000
committerRoland McGrath <roland@gnu.org>1995-10-24 20:49:02 +0000
commit1d67123c88fb8ded6ed018683fb893353e6ca2d1 (patch)
treec08906eff993d8f29b2086b844837c6e3d4b97f7
parent7b3f0a473baca7a1894714b0afae513f3bdefb6e (diff)
Undo last change of 9Oct95.
-rw-r--r--init/init.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/init/init.c b/init/init.c
index 22cf4ef1..20eb9471 100644
--- a/init/init.c
+++ b/init/init.c
@@ -274,13 +274,13 @@ run (char *server, mach_port_t *ports, task_t *task)
++progname;
else
progname = prog;
- errno = file_exec (file, *task, MACH_MSG_TYPE_COPY_SEND, 0,
- progname, strlen (progname) + 1, 0, /* Args. */
- "", 1, 0, /* No env. */
- default_dtable, MACH_MSG_TYPE_COPY_SEND, 3, 0,
- ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX, 0,
- NULL, 0, 0, /* No info in init ints. */
- NULL, 0, 0, NULL, 0, 0);
+ errno = file_exec (file, *task, 0,
+ progname, strlen (progname) + 1, /* Args. */
+ "", 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. */
+ NULL, 0, NULL, 0);
if (!errno)
break;
@@ -355,13 +355,14 @@ run_for_real (char *filename, char *args, int arglen, mach_port_t ctty)
++progname;
else
progname = filename;
- err = file_exec (file, task, MACH_MSG_TYPE_COPY_SEND, 0,
- args, arglen, 0,
- NULL, 0, 0, /* No env. */
- default_dtable, MACH_MSG_TYPE_COPY_SEND, 3, 0,
- default_ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX, 0,
- NULL, 0, 0, /* No info in init ints. */
- NULL, 0, 0, NULL, 0, 0);
+ err = file_exec (file, task, 0,
+ args, arglen,
+ NULL, 0, /* No env. */
+ default_dtable, MACH_MSG_TYPE_COPY_SEND, 3,
+ default_ports, MACH_MSG_TYPE_COPY_SEND,
+ INIT_PORT_MAX,
+ NULL, 0, /* No info in init ints. */
+ NULL, 0, NULL, 0);
mach_port_deallocate (mach_task_self (), default_ports[INIT_PORT_PROC]);
if (ctty != MACH_PORT_NULL)
{