summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/fsck/main.c2
-rw-r--r--sbin/fsck_ffs/main.c2
-rw-r--r--sbin/fsck_ifs/main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck/main.c b/sbin/fsck/main.c
index fbeb3ee..c4ee7cb 100644
--- a/sbin/fsck/main.c
+++ b/sbin/fsck/main.c
@@ -195,7 +195,7 @@ checkfilesys(filesys, mntpt, auxdata, child)
case 0:
if (preen)
pfatal("CAN'T CHECK FILE SYSTEM.");
- /* fall through */
+ return (0);
case -1:
pwarn("clean, %ld free ", sblock.fs_cstotal.cs_nffree +
sblock.fs_frag * sblock.fs_cstotal.cs_nbfree);
diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c
index fbeb3ee..c4ee7cb 100644
--- a/sbin/fsck_ffs/main.c
+++ b/sbin/fsck_ffs/main.c
@@ -195,7 +195,7 @@ checkfilesys(filesys, mntpt, auxdata, child)
case 0:
if (preen)
pfatal("CAN'T CHECK FILE SYSTEM.");
- /* fall through */
+ return (0);
case -1:
pwarn("clean, %ld free ", sblock.fs_cstotal.cs_nffree +
sblock.fs_frag * sblock.fs_cstotal.cs_nbfree);
diff --git a/sbin/fsck_ifs/main.c b/sbin/fsck_ifs/main.c
index fbeb3ee..c4ee7cb 100644
--- a/sbin/fsck_ifs/main.c
+++ b/sbin/fsck_ifs/main.c
@@ -195,7 +195,7 @@ checkfilesys(filesys, mntpt, auxdata, child)
case 0:
if (preen)
pfatal("CAN'T CHECK FILE SYSTEM.");
- /* fall through */
+ return (0);
case -1:
pwarn("clean, %ld free ", sblock.fs_cstotal.cs_nffree +
sblock.fs_frag * sblock.fs_cstotal.cs_nbfree);
OpenPOWER on IntegriCloud