summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs/check.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-02-14 12:31:28 +0000
committerkib <kib@FreeBSD.org>2010-02-14 12:31:28 +0000
commit1bb580c8e7ac325bb28c63b43caac2ed3dbd4310 (patch)
tree8470fd3f1b1383228bbcfc64389e211a5908fc14 /sbin/fsck_msdosfs/check.c
parente42f354e7306429f0c4d87a212ab738b6338cc3b (diff)
downloadFreeBSD-src-1bb580c8e7ac325bb28c63b43caac2ed3dbd4310.zip
FreeBSD-src-1bb580c8e7ac325bb28c63b43caac2ed3dbd4310.tar.gz
Rename fields to match better the msdosfs headers. This work is still
incomplete as some info doesn't really belong to the structs where it is defined. Submitted by: Pedro F. Giffuni <giffunip tutopia com> Reviewed by: bde MFC after: 2 weeks
Diffstat (limited to 'sbin/fsck_msdosfs/check.c')
-rw-r--r--sbin/fsck_msdosfs/check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_msdosfs/check.c b/sbin/fsck_msdosfs/check.c
index e7537ba..a762f8a 100644
--- a/sbin/fsck_msdosfs/check.c
+++ b/sbin/fsck_msdosfs/check.c
@@ -98,7 +98,7 @@ checkfilesys(const char *fname)
}
if (boot.ValidFat < 0)
- for (i = 1; i < (int)boot.FATs; i++) {
+ for (i = 1; i < (int)boot.bpbFATs; i++) {
struct fatEntry *currentFat;
mod |= readfat(dosfs, &boot, i, &currentFat);
OpenPOWER on IntegriCloud