* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user