diff options
-rw-r--r-- | sbin/fsck/setup.c | 2 | ||||
-rw-r--r-- | sbin/fsck_ffs/setup.c | 2 | ||||
-rw-r--r-- | sbin/fsck_ifs/setup.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/sbin/fsck/setup.c b/sbin/fsck/setup.c index a32b23c..fb1c1d9 100644 --- a/sbin/fsck/setup.c +++ b/sbin/fsck/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; 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; diff --git a/sbin/fsck_ifs/setup.c b/sbin/fsck_ifs/setup.c index a32b23c..fb1c1d9 100644 --- a/sbin/fsck_ifs/setup.c +++ b/sbin/fsck_ifs/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; |