summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console/ChangeLog4
-rw-r--r--console/console.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/console/ChangeLog b/console/ChangeLog
index d82afdd8..b48b5943 100644
--- a/console/ChangeLog
+++ b/console/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-10 Marcus Brinkmann <marcus@gnu.org>
+
+ * console.c (main): Don't use err without setting it.
+
2002-10-10 Marcus Brinkmann <marcus@gnu.org>
* hurd.ti (cub1): Change from \E[D to ^H.
diff --git a/console/console.c b/console/console.c
index 2969f8f8..e67ba62e 100644
--- a/console/console.c
+++ b/console/console.c
@@ -1963,7 +1963,7 @@ main (int argc, char **argv)
cons->node = netfs_root_node;
cons->underlying = netfs_startup (bootstrap, O_READ);
if (cons->underlying == MACH_PORT_NULL)
- error (4, err, "Cannot get underlying node");
+ error (4, 0, "Cannot get underlying node");
err = io_stat (cons->underlying, &ul_stat);
if (err)