summaryrefslogtreecommitdiff
path: root/console/console.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-12-10 20:40:33 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-12-10 20:40:33 +0000
commita3e035495c07bdcd55e5cc5e5019256a372041dc (patch)
treee3d51f4d91cd9efebeedfb175a49ee020ef92eec /console/console.c
parent5d60494b8917263de8ecdfc984053f91d7248454 (diff)
2002-12-10 Marcus Brinkmann <marcus@gnu.org>
* console.c (main): Don't use err without setting it.
Diffstat (limited to 'console/console.c')
-rw-r--r--console/console.c2
1 files changed, 1 insertions, 1 deletions
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)