From 42f0218e808c37e08cdb12e99b80a3c9b437cd37 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sun, 24 Jan 2010 16:53:37 -0800 Subject: [PATCH] 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 Signed-off-by: H. Peter Anvin --- libinstaller/syslxint.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libinstaller/syslxint.h b/libinstaller/syslxint.h index e2a8072..336e6f0 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; -- 2.7.4