* Improved panic output I recently ran into.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35465 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-02-15 13:20:01 +00:00
parent 4ea83177ff
commit 2cb3c4eb06

View File

@ -1,6 +1,6 @@
/* /*
* Copyright 2008-2010, Michael Lotz, mmlr@mlotz.ch. * Copyright 2008-2010, Michael Lotz, mmlr@mlotz.ch.
* Copyright 2002-2009, Axel Dörfler, axeld@pinc-software.de. * Copyright 2002-2010, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
* *
* Copyright 2001, Travis Geiselbrecht. All rights reserved. * Copyright 2001, Travis Geiselbrecht. All rights reserved.
@ -1438,7 +1438,7 @@ heap_allocate_from_bin(heap_allocator *heap, uint32 binIndex, size_t size)
heap_free_pages_removed(heap, area, 1); heap_free_pages_removed(heap, area, 1);
if (page->in_use) if (page->in_use)
panic("got an in use page from the free pages list\n"); panic("got an in use page %p from the free pages list\n", page);
page->in_use = 1; page->in_use = 1;
pageLocker.Unlock(); pageLocker.Unlock();