summaryrefslogtreecommitdiffstats
path: root/libinstaller
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-01-24 16:53:37 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-01-24 16:53:37 -0800
commit42f0218e808c37e08cdb12e99b80a3c9b437cd37 (patch)
tree36c4bc85d06d567be6fd43b45e433275258191a7 /libinstaller
parent2f75bbc83c94b5aed67e89244ffba3fde9e347bb (diff)
downloadsyslinux-42f0218e808c37e08cdb12e99b80a3c9b437cd37.tar.gz
syslinux-42f0218e808c37e08cdb12e99b80a3c9b437cd37.tar.xz
syslinux-42f0218e808c37e08cdb12e99b80a3c9b437cd37.zip
FAT: fix installer on FAT32 filesystems
The FAT32 superblock has a 12-byte reserved field which wasn't accounted for in the structure. As a result, the installer refused to run on a FAT32 filesystem. Fix the structure. Reported-by: Kim Mik <kimmik999999@yahoo.co.uk> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'libinstaller')
-rw-r--r--libinstaller/syslxint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libinstaller/syslxint.h b/libinstaller/syslxint.h
index e2a80724..336e6f00 100644
--- a/libinstaller/syslxint.h
+++ b/libinstaller/syslxint.h
@@ -126,6 +126,7 @@ struct boot_sector {
uint32_t RootClus;
uint16_t FSInfo;
uint16_t BkBootSec;
+ uint8_t Reserved0[12];
uint8_t DriveNumber;
uint8_t Reserved1;
uint8_t BootSignature;