Fixed checking file system type in ntfsck

edge.strict_endians
Jean-Pierre André 2011-07-05 12:17:28 +02:00
parent 473d03d4b7
commit fe1a7b22a2
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ static BOOL verify_boot_sector(struct ntfs_device *dev)
(buf[2]!=0x90)) {
check_failed("Boot sector: Bad jump.\n");
}
if (ntfs_boot->oem_id != NTFS_SB_MAGIC) {
if (ntfs_boot->oem_id != magicNTFS) {
check_failed("Boot sector: Bad NTFS magic.\n");
}
bytes_per_sector = le16_to_cpu(ntfs_boot->bpb.bytes_per_sector);