summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-05-02 19:54:32 +0000
committerRoland McGrath <roland@gnu.org>1999-05-02 19:54:32 +0000
commitcd522d39ce80feb6336f3244a9c224105fb62787 (patch)
tree557117ab619d09ddf274124c26e8ae2d8e90522b
parentbf281d6870546959ff35f51851a47e71423cae32 (diff)
1999-05-02 Roland McGrath <roland@baalperazim.frob.com>
* main.c (main): Remove bogus uninitialized variable ERR.
-rw-r--r--ufs/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ufs/main.c b/ufs/main.c
index 29b22d11..cc39019d 100644
--- a/ufs/main.c
+++ b/ufs/main.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994, 95, 96, 97, 98 Free Software Foundation, Inc.
+ Copyright (C) 1994,95,96,97,98,99 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -158,7 +158,6 @@ diskfs_append_args (char **argz, unsigned *argz_len)
int
main (int argc, char **argv)
{
- error_t err;
mach_port_t bootstrap;
/* Initialize the diskfs library, parse arguments, and open the store.
@@ -167,7 +166,7 @@ main (int argc, char **argv)
&store_parsed, &bootstrap);
if (store->block_size > DEV_BSIZE)
- error (4, err, "%s: Bad device block size %d (should be <= %d)",
+ error (4, 0, "%s: Bad device block size %d (should be <= %d)",
diskfs_disk_name, store->block_size, DEV_BSIZE);
if (store->size < SBSIZE + SBOFF)
error (5, 0, "%s: Disk too small (%ld bytes)", diskfs_disk_name,