From 8e13e371ec916354c0738bee727816288e61ff5c Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 25 Oct 1994 18:17:33 +0000 Subject: Formerly boot-start.c.~34~ --- libdiskfs/boot-start.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c index 4f495470..8eab0957 100644 --- a/libdiskfs/boot-start.c +++ b/libdiskfs/boot-start.c @@ -64,8 +64,8 @@ diskfs_start_bootstrap (char **argv) task_t newt; error_t err; char *initname, *initnamebuf; - char *argv; - int argvlen; + char *exec_argv; + int exec_argvlen; saved_argv = argv; @@ -144,7 +144,7 @@ diskfs_start_bootstrap (char **argv) fdarray[1] = con; fdarray[2] = con; /* XXX */ - argvlen = asprintf (&argv, "%s%c%s%c", initname, '\0', diskfs_bootflagarg, + exec_argvlen = asprintf (&exec_argv, "%s%c%s%c", initname, '\0', diskfs_bootflagarg, '\0'); task_create (mach_task_self (), 0, &newt); @@ -156,13 +156,13 @@ diskfs_start_bootstrap (char **argv) printf (" init"); fflush (stdout); err = exec_exec (diskfs_exec, startup_pt, MACH_MSG_TYPE_COPY_SEND, - newt, 0, argv, argvlen, 0, 0, + newt, 0, exec_argv, exec_argvlen, 0, 0, fdarray, MACH_MSG_TYPE_COPY_SEND, 3, portarray, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX, /* Supply no intarray, since we have no info for it. With none supplied, it will use the defaults. */ NULL, 0, 0, 0, 0, 0); - free (argv); + free (exec_argv); mach_port_deallocate (mach_task_self (), root_pt); mach_port_deallocate (mach_task_self (), startup_pt); mach_port_deallocate (mach_task_self (), bootpt); -- cgit v1.2.3