diff options
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/ipodpatcher/fat32format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/ipodpatcher/fat32format.c b/rbutil/ipodpatcher/fat32format.c index 3dced355b6..9d2c538cd7 100644 --- a/rbutil/ipodpatcher/fat32format.c +++ b/rbutil/ipodpatcher/fat32format.c | |||
@@ -309,7 +309,7 @@ static void create_boot_sector(unsigned char* buf, | |||
309 | pFAT32BootSect->sJmpBoot[0]=0xEB; | 309 | pFAT32BootSect->sJmpBoot[0]=0xEB; |
310 | pFAT32BootSect->sJmpBoot[1]=0x5A; | 310 | pFAT32BootSect->sJmpBoot[1]=0x5A; |
311 | pFAT32BootSect->sJmpBoot[2]=0x90; | 311 | pFAT32BootSect->sJmpBoot[2]=0x90; |
312 | strcpy( pFAT32BootSect->sOEMName, "MSWIN4.1" ); | 312 | memcpy(pFAT32BootSect->sOEMName, "MSWIN4.1", 8 ); |
313 | pFAT32BootSect->wBytsPerSec = rb_htole16(BytesPerSect); | 313 | pFAT32BootSect->wBytsPerSec = rb_htole16(BytesPerSect); |
314 | pFAT32BootSect->bSecPerClus = SectorsPerCluster ; | 314 | pFAT32BootSect->bSecPerClus = SectorsPerCluster ; |
315 | pFAT32BootSect->wRsvdSecCnt = rb_htole16(ReservedSectCount); | 315 | pFAT32BootSect->wRsvdSecCnt = rb_htole16(ReservedSectCount); |