summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boot/ChangeLog4
-rw-r--r--console/main.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/boot/ChangeLog b/boot/ChangeLog
index 09e6882f..670e3f28 100644
--- a/boot/ChangeLog
+++ b/boot/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>
+
+ * boot.c (main): Use error, not perror and exit.
+
2001-10-07 Neal H Walfield <neal@cs.uml.edu>
* boot.c (main): Set the boot script variables based on
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);