diff options
author | bde <bde@FreeBSD.org> | 1995-02-09 15:58:31 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-02-09 15:58:31 +0000 |
commit | 5c099a964cd841f148168497cd77214c6f443fd0 (patch) | |
tree | e6730a317a1d2544c8d5529b13f7ae99c550d816 /sbin/fsck_ffs/setup.c | |
parent | 2daabec736fa0377716858bb92275d90386970c3 (diff) | |
download | FreeBSD-src-5c099a964cd841f148168497cd77214c6f443fd0.zip FreeBSD-src-5c099a964cd841f148168497cd77214c6f443fd0.tar.gz |
Don't allow the alternate superblock block number for one file system
to apply to others (except when it is given on the command line).
Diffstat (limited to 'sbin/fsck_ffs/setup.c')
-rw-r--r-- | sbin/fsck_ffs/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c index a32b23c..fb1c1d9 100644 --- a/sbin/fsck_ffs/setup.c +++ b/sbin/fsck_ffs/setup.c @@ -124,9 +124,11 @@ setup(dev) "LOCATION OF AN ALTERNATE", "SUPER-BLOCK TO SUPPLY NEEDED", "INFORMATION; SEE fsck(8)."); + bflag = 0; return(0); } pwarn("USING ALTERNATE SUPERBLOCK AT %d\n", bflag); + bflag = 0; } maxfsblock = sblock.fs_size; maxino = sblock.fs_ncg * sblock.fs_ipg; |