summaryrefslogtreecommitdiffstats
path: root/check.c
diff options
context:
space:
mode:
Diffstat (limited to 'check.c')
-rw-r--r--check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.c b/check.c
index aaac549..f6a95a0 100644
--- a/check.c
+++ b/check.c
@@ -85,7 +85,7 @@ checkfilesys(const char *fname)
return 8;
}
- if (readboot(dosfs, &boot) != FSOK) {
+ if (readboot(dosfs, &boot) == FSFATAL) {
close(dosfs);
printf("\n");
return 8;