diff --git a/sbin/fsck_msdosfs/check.c b/sbin/fsck_msdosfs/check.c index 6d027bbcebe5..2431bd38dd66 100644 --- a/sbin/fsck_msdosfs/check.c +++ b/sbin/fsck_msdosfs/check.c @@ -74,7 +74,7 @@ checkfilesys(const char *fname) return 8; } - if (readboot(dosfs, &boot) != FSOK) { + if (readboot(dosfs, &boot) == FSFATAL) { close(dosfs); printf("\n"); return 8;