summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-10-07 05:45:42 +0000
committerRoland McGrath <roland@gnu.org>1994-10-07 05:45:42 +0000
commita38ebb7f8b1310a08523549f83c1d1a670144294 (patch)
treeaf899b8bec0f2dba3c3312dbaecb24db90964baa /ufs
parentbbee9c26c27d2ffdd0588b74bcf03050d80cc8b0 (diff)
Formerly main.c.~24~
Diffstat (limited to 'ufs')
-rw-r--r--ufs/main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/ufs/main.c b/ufs/main.c
index 65da85bb..7fcfa43b 100644
--- a/ufs/main.c
+++ b/ufs/main.c
@@ -27,7 +27,6 @@
char *ufs_version = "0.0 pre-alpha";
-static char **save_argv;
/* Parse the arguments for ufs when started as a translator. */
char *
@@ -98,8 +97,6 @@ main (int argc, char **argv)
error_t err;
int sizes[DEV_GET_SIZE_COUNT];
u_int sizescnt = 2;
-
- save_argv = argv;
mutex_init (&printf_lock); /* XXX */
@@ -205,7 +202,7 @@ main (int argc, char **argv)
if (bootstrap == MACH_PORT_NULL)
/* We are the bootstrap filesystem; do special boot-time setup. */
- diskfs_start_bootstrap ();
+ diskfs_start_bootstrap (argv);
/* Now become a generic request thread. */
diskfs_main_request_loop ();
@@ -218,8 +215,7 @@ diskfs_init_completed ()
mach_port_t proc, startup;
error_t err;
- _hurd_proc_init (save_argv);
- proc = getproc();
+ proc = getproc ();
proc_register_version (proc, diskfs_host_priv, "ufs", HURD_RELEASE,
ufs_version);
err = proc_getmsgport (proc, 1, &startup);