sbin/fsck_msdosfs: Bring in freebsd/freebsd@7a3e0d6f (fix readboot() check)
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 14 Sep 2019 21:56:07 +0000 (06:56 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 14 Sep 2019 22:57:21 +0000 (07:57 +0900)
sbin/fsck_msdosfs/check.c

index 3b12a31..8017352 100644 (file)
@@ -66,7 +66,7 @@ checkfilesys(const char *fname)
                return 8;
        }
 
-       if (readboot(dosfs, &boot) != FSOK) {
+       if (readboot(dosfs, &boot) == FSFATAL) {
                close(dosfs);
                printf("\n");
                return 8;