mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[USETUP] 1024 * 1024 is 1048576 not 1048756
. Spotted by Mike Nordell aka tamlin. CORE-9792
svn path=/trunk/; revision=68100
This commit is contained in:
parent
3e0d421012
commit
b6f88d3326
1 changed files with 3 additions and 3 deletions
|
@ -1189,9 +1189,9 @@ AddDiskToList(
|
|||
{
|
||||
DPRINT("Use %lu Sector alignment!\n", DiskEntry->SectorsPerTrack);
|
||||
}
|
||||
else if (DiskEntry->LayoutBuffer->PartitionEntry[0].StartingOffset.QuadPart % 1048756 == 0)
|
||||
else if (DiskEntry->LayoutBuffer->PartitionEntry[0].StartingOffset.QuadPart % (1024 * 1024) == 0)
|
||||
{
|
||||
DPRINT1("Use megabyte (%lu Sectors) alignment!\n", 1048756 / DiskEntry->BytesPerSector);
|
||||
DPRINT1("Use megabyte (%lu Sectors) alignment!\n", (1024 * 1024) / DiskEntry->BytesPerSector);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1200,7 +1200,7 @@ AddDiskToList(
|
|||
}
|
||||
else
|
||||
{
|
||||
DPRINT1("No valid partiton table found! Use megabyte (%lu Sectors) alignment!\n", 1048756 / DiskEntry->BytesPerSector);
|
||||
DPRINT1("No valid partiton table found! Use megabyte (%lu Sectors) alignment!\n", (1024 * 1024) / DiskEntry->BytesPerSector);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue