From: H. Peter Anvin Date: Mon, 25 Jan 2010 00:53:37 +0000 (-0800) Subject: FAT: fix installer on FAT32 filesystems X-Git-Tag: syslinux-4.00-pre11~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42f0218e808c37e08cdb12e99b80a3c9b437cd37;p=profile%2Fivi%2Fsyslinux.git 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 --- 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;