[Midnightbsd-cvs] src [11867] trunk/sbin/fsck_msdosfs/check.c: do not bail out from the check if readboot is not fstfatal.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jul 15 14:08:24 EDT 2018


Revision: 11867
          http://svnweb.midnightbsd.org/src/?rev=11867
Author:   laffer1
Date:     2018-07-15 14:08:23 -0400 (Sun, 15 Jul 2018)
Log Message:
-----------
do not bail out from the check if readboot is not fstfatal.

Modified Paths:
--------------
    trunk/sbin/fsck_msdosfs/check.c

Modified: trunk/sbin/fsck_msdosfs/check.c
===================================================================
--- trunk/sbin/fsck_msdosfs/check.c	2018-07-15 18:06:13 UTC (rev 11866)
+++ trunk/sbin/fsck_msdosfs/check.c	2018-07-15 18:08:23 UTC (rev 11867)
@@ -73,7 +73,7 @@
 		return 8;
 	}
 
-	if (readboot(dosfs, &boot) != FSOK) {
+	if (readboot(dosfs, &boot) == FSFATAL) {
 		close(dosfs);
 		printf("\n");
 		return 8;



More information about the Midnightbsd-cvs mailing list