* I obviously need some sleep: messed up the fix, and forgot some parenthesis...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28114 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-10-14 22:49:13 +00:00
parent 4986b5c767
commit 98ec129e53
@@ -1075,8 +1075,9 @@ BlockAllocator::_CheckGroup(int32 groupIndex) const
dprintf("group %d first free too late\n",
(int)groupIndex);
}
if (group.fLargestValid && largestStart != group.fLargestStart
|| largestLength != group.fLargestLength) {
if (group.fLargestValid
&& (largestStart != group.fLargestStart
|| largestLength != group.fLargestLength)) {
panic("bfs %p: group %d largest differs: %d.%d, checked %d.%d.\n",
fVolume, (int)groupIndex, (int)group.fLargestStart,
(int)group.fLargestLength, (int)largestStart, (int)largestLength);