diff options
Diffstat (limited to 'console/main.c')
-rw-r--r-- | console/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
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); |