Fixed a bug causing SEGV in ntfsck (but nothing done anyway)

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

View File

@ -224,8 +224,8 @@ static BOOL verify_boot_sector(struct ntfs_device *dev)
// todo: if partition, query bios and match heads/tracks? */
// Initialize some values from vol. We will need those later.
ntfs_boot_sector_parse(&vol, (NTFS_BOOT_SECTOR *)buf);
vol.dev = dev;
ntfs_boot_sector_parse(&vol, (NTFS_BOOT_SECTOR *)buf);
return 0;
}