From 21542654a791a7a99b29c0c3392daf432923fff0 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Tue, 26 Mar 2002 18:57:43 +0000 Subject: 2002-03-23 James A. Morrison * main.c (main): Use error, not fprintf and exit. --- console/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'console') diff --git a/console/main.c b/console/main.c index 8f34fc3d..cd28bc96 100644 --- a/console/main.c +++ b/console/main.c @@ -129,10 +129,7 @@ main (int argc, char **argv) task_get_bootstrap_port (mach_task_self (), &bootstrap); if (bootstrap == MACH_PORT_NULL) - { - fprintf (stderr, "Must be started as a translator\n"); - exit (1); - } + error (1, 0, "Must be started as a translator"); /* Set our node */ err = trivfs_startup (bootstrap, 0, 0, 0, 0, 0, &fsys); -- cgit v1.2.3