* Cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34415 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-12-01 16:20:41 +00:00
parent e557314537
commit 7cab82a1c9

View File

@ -224,7 +224,7 @@ heap_init(stage2_args* args)
sHeapBase = base;
sMaxHeapSize = (uint8*)top - (uint8*)base;
sAvailable = sMaxHeapSize - sizeof(uint32);
sAvailable = sMaxHeapSize - FreeChunk::NextOffset();
// declare the whole heap as one chunk, and add it
// to the free list