summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-12-17 19:33:44 +0000
committerphk <phk@FreeBSD.org>2002-12-17 19:33:44 +0000
commit0b009ff7e72d472a2a4a862e3e1cd16e67789a56 (patch)
treef7a16b8bf5b54f4a3d839b4e48650187fbb80bf1 /sbin
parentce2f160e6b3070f44af7ab9f72d78b24bfb2402c (diff)
downloadFreeBSD-src-0b009ff7e72d472a2a4a862e3e1cd16e67789a56.zip
FreeBSD-src-0b009ff7e72d472a2a4a862e3e1cd16e67789a56.tar.gz
Straighten out a compound if() to improve readability marginally.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fsck/preen.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/fsck/preen.c b/sbin/fsck/preen.c
index 09403ec..068154c 100644
--- a/sbin/fsck/preen.c
+++ b/sbin/fsck/preen.c
@@ -115,7 +115,10 @@ checkfstab(int flags, int (*docheck)(struct fstab *),
if (fs->fs_passno > passno && fs->fs_passno < nextpass)
nextpass = fs->fs_passno;
- if (passno != fs->fs_passno || (*docheck)(fs) == 0)
+ if (passno != fs->fs_passno)
+ continue;
+
+ if ((*docheck)(fs) == 0)
continue;
if (flags & CHECK_DEBUG)
OpenPOWER on IntegriCloud