diff options
Diffstat (limited to 'sbin/fsck_msdosfs/fat.c')
-rw-r--r-- | sbin/fsck_msdosfs/fat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/fsck_msdosfs/fat.c b/sbin/fsck_msdosfs/fat.c index 0b0bd9e..dc84239 100644 --- a/sbin/fsck_msdosfs/fat.c +++ b/sbin/fsck_msdosfs/fat.c @@ -338,9 +338,9 @@ clustdiffer(cl_t cl, cl_t *cp1, cl_t *cp2, int fatnum) if ((*cp1 != CLUST_FREE && *cp1 < CLUST_BAD && *cp2 != CLUST_FREE && *cp2 < CLUST_BAD) || (*cp1 > CLUST_BAD && *cp2 > CLUST_BAD)) { - pwarn("Cluster %u is marked %s with different indicators, ", + pwarn("Cluster %u is marked %s with different indicators\n", cl, rsrvdcltype(*cp1)); - if (ask(1, "fix")) { + if (ask(1, "Fix")) { *cp2 = *cp1; return FSFATMOD; } @@ -678,7 +678,7 @@ checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) if (boot->FSFree != boot->NumFree) { pwarn("Free space in FSInfo block (%d) not correct (%d)\n", boot->FSFree, boot->NumFree); - if (ask(1, "fix")) { + if (ask(1, "Fix")) { boot->FSFree = boot->NumFree; ret = 1; } @@ -686,7 +686,7 @@ checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) if (boot->NumFree && fat[boot->FSNext].next != CLUST_FREE) { pwarn("Next free cluster in FSInfo block (%u) not free\n", boot->FSNext); - if (ask(1, "fix")) + if (ask(1, "Fix")) for (head = CLUST_FIRST; head < boot->NumClusters; head++) if (fat[head].next == CLUST_FREE) { boot->FSNext = head; |