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:
Axel Dörfler
2006-10-03 15:26:40 +00:00
parent c585b1f46d
commit 65bf7e89c9
@@ -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