Fix build with DEBUG_PAGE_QUEUE enabled
Change-Id: Id9ffcd50835a0ba9e4276a3bb5939cc1d4afa128 Reviewed-on: https://review.haiku-os.org/516 Reviewed-by: Stephan Aßmus <[email protected]>
This commit is contained in:
committed by
Stephan Aßmus
parent
09095817eb
commit
0e9dc76e5f
@@ -191,7 +191,7 @@ VMPageQueue::AppendUnlocked(PageList& pages, uint32 count)
|
||||
{
|
||||
#if DEBUG_PAGE_QUEUE
|
||||
for (PageList::Iterator it = pages.GetIterator();
|
||||
vm_page* page = it.next();) {
|
||||
vm_page* page = it.Next();) {
|
||||
if (page->queue != NULL) {
|
||||
panic("%p->VMPageQueue::AppendUnlocked(): page %p thinks it is "
|
||||
"already in queue %p", this, page, page->queue);
|
||||
|
||||
Reference in New Issue
Block a user