diff --git a/reactos/boot/freeldr/freeldr/fs/ext2.c b/reactos/boot/freeldr/freeldr/fs/ext2.c index 3f78d4b7f0a..4ed9802afb5 100644 --- a/reactos/boot/freeldr/freeldr/fs/ext2.c +++ b/reactos/boot/freeldr/freeldr/fs/ext2.c @@ -1290,7 +1290,7 @@ const DEVVTBL* Ext2Mount(ULONG DeviceId) ULONGLONG StartSector; ULONGLONG SectorCount; int Type; - if (!MachDiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) + if (!DiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) return NULL; Ext2OpenVolume(DriveNumber, StartSector, SectorCount); return &Ext2FuncTable; diff --git a/reactos/boot/freeldr/freeldr/fs/fat.c b/reactos/boot/freeldr/freeldr/fs/fat.c index ee40b891360..d37cd0e1675 100644 --- a/reactos/boot/freeldr/freeldr/fs/fat.c +++ b/reactos/boot/freeldr/freeldr/fs/fat.c @@ -1535,7 +1535,7 @@ const DEVVTBL* FatMount(ULONG DeviceId) ULONGLONG StartSector; ULONGLONG SectorCount; int Type; - if (!MachDiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) + if (!DiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) return NULL; FatOpenVolume(DriveNumber, StartSector, SectorCount); return &FatFuncTable; diff --git a/reactos/boot/freeldr/freeldr/fs/ntfs.c b/reactos/boot/freeldr/freeldr/fs/ntfs.c index fba7cc5c22c..6c6f04ba193 100644 --- a/reactos/boot/freeldr/freeldr/fs/ntfs.c +++ b/reactos/boot/freeldr/freeldr/fs/ntfs.c @@ -905,7 +905,7 @@ const DEVVTBL* NtfsMount(ULONG DeviceId) ULONGLONG StartSector; ULONGLONG SectorCount; int Type; - if (!MachDiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) + if (!DiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) return NULL; NtfsOpenVolume(DriveNumber, StartSector, SectorCount); return &NtfsFuncTable;