summaryrefslogtreecommitdiffstats
path: root/src/fat.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-07-05 22:57:58 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-07-05 22:57:58 +0200
commita6b58b4150c20f4f3d1a6ebf80ce41d6ed16e4d5 (patch)
tree9d35982dc8ff9a13c8350ef3d63108d2f3864a89 /src/fat.h
parent84cd4095ed29660b2258846da9a89f9c8bc2c5d7 (diff)
FAT: Fix confusion between cluster_size and sectors_per_cluster
Diffstat (limited to 'src/fat.h')
-rw-r--r--src/fat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fat.h b/src/fat.h
index a5a54bc..b84a503 100644
--- a/src/fat.h
+++ b/src/fat.h
@@ -41,7 +41,7 @@ struct fat_boot_sector {
int8_t system_id[8]; /* 0x03 Name - can be used to special case
partition manager volumes */
uint8_t sector_size[2]; /* 0x0B bytes per logical sector */
- uint8_t cluster_size; /* 0x0D sectors/cluster */
+ uint8_t sectors_per_cluster; /* 0x0D sectors/cluster */
uint16_t reserved; /* 0x0E reserved sectors */
uint8_t fats; /* 0x10 number of FATs */
uint8_t dir_entries[2]; /* 0x11 root directory entries */