* Didn't notice that AdjustSize() was called from somewhere else, too. This

fixes the haiku_loader build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34386 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-11-30 16:36:28 +00:00
parent 240a2c89e8
commit c37e40a078
@@ -215,10 +215,10 @@ PartitionMapParser::_ParseExtended(PrimaryPartition* primary, off_t offset)
}
if (partition == NULL)
break;
#ifdef _BOOT_MODE
// work-around potential BIOS problems
partition->AdjustSize(fSessionSize);
#endif
// work-around potential BIOS/OS problems
partition->FitSizeToSession(fSessionSize);
// check the partition's location
if (!partition->CheckLocation(fSessionSize)) {
error = B_BAD_DATA;