Fixed bug that occurred during DEBUG builds
[reactos.git] / freeldr / freeldr / fs / fat.c
index 571a9d1..99149c7 100644 (file)
@@ -107,7 +107,7 @@ BOOL FatOpenVolume(ULONG DriveNumber, ULONG VolumeStartSector)
 
        DbgPrint((DPRINT_FILESYSTEM, "Dumping boot sector:\n"));
 
 
        DbgPrint((DPRINT_FILESYSTEM, "Dumping boot sector:\n"));
 
-       if (FatFileSystemType == FAT32)
+       if (FatType == FAT32)
        {
                DbgPrint((DPRINT_FILESYSTEM, "sizeof(FAT32_BOOTSECTOR) = 0x%x.\n", sizeof(FAT32_BOOTSECTOR)));
 
        {
                DbgPrint((DPRINT_FILESYSTEM, "sizeof(FAT32_BOOTSECTOR) = 0x%x.\n", sizeof(FAT32_BOOTSECTOR)));