summaryrefslogtreecommitdiff
path: root/ufs
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
commit7709e52886ecdbc1a316dbe37f30eefe2a9b10dd (patch)
tree6fe436a381f620cd3bbaeb066dc11542a2e95bb4 /ufs
parentd3fe02c2d320bfde339c87981c32f1d9b3581952 (diff)
1999-05-02 Roland McGrath <roland@baalperazim.frob.com>
* main.c (main): Remove bogus uninitialized variable ERR.
Diffstat (limited to 'ufs')
-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,