* 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) if (partition == NULL)
break; break;
#ifdef _BOOT_MODE
// work-around potential BIOS problems // work-around potential BIOS/OS problems
partition->AdjustSize(fSessionSize); partition->FitSizeToSession(fSessionSize);
#endif
// check the partition's location // check the partition's location
if (!partition->CheckLocation(fSessionSize)) { if (!partition->CheckLocation(fSessionSize)) {
error = B_BAD_DATA; error = B_BAD_DATA;