Changeset 1955

Show
Ignore:
Timestamp:
02/28/09 16:02:27 (3 years ago)
Author:
mwhitworth
Message:

Fix fileSysType field, used in the FAT superblock.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/tags/0.2b/user/makefs/fat/main.c

    r1908 r1955  
    404404        bootSec.driveNum=0x80; 
    405405        strncpy(bootSec.volLabel,(volumeName) ? volumeName : "whitix", 11); 
    406         strncpy(bootSec.fileSysType, "FAT16", 8); 
     406        snprintf(bootSec.fileSysType, 8, "FAT%d", fatSize); 
    407407         
    408408        if (fatSize == 32)