Fixed typo in the BIOS work-around that should prevent booting from Intel partitions at all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18991 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -220,7 +220,7 @@ Partition::AdjustSize(off_t sessionSize)
|
||||
// To work around buggy (or older) BIOS, we shrink the partition size to
|
||||
// always fit into its session - this should improve detection of boot
|
||||
// partitions (see bug #238 for more information)
|
||||
if (sessionSize > fOffset + fSize)
|
||||
if (sessionSize < fOffset + fSize)
|
||||
fSize = sessionSize - fOffset;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user