summaryrefslogtreecommitdiff
path: root/src/fsck.fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsck.fat.c')
-rw-r--r--src/fsck.fat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fsck.fat.c b/src/fsck.fat.c
index f786a93..c244aba 100644
--- a/src/fsck.fat.c
+++ b/src/fsck.fat.c
@@ -217,7 +217,8 @@ exit:
if (!boot_only)
printf("%s: %u files, %lu/%lu clusters\n", argv[optind],
- n_files, (unsigned long)fs.clusters - free_clusters, (unsigned long)fs.clusters);
+ n_files, (unsigned long)fs.data_clusters - free_clusters,
+ (unsigned long)fs.data_clusters);
return fs_close(rw) ? 1 : 0;
}