From 095ee89840e8bf8dbc8d8adb1a580af3415ca8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 25 Oct 2006 15:29:41 +0000 Subject: [PATCH] Fixed warning with debug info turned on. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19122 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/vm/vm_page.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/vm/vm_page.c b/src/system/kernel/vm/vm_page.c index 441b42e1c0..83cbdb48fe 100644 --- a/src/system/kernel/vm/vm_page.c +++ b/src/system/kernel/vm/vm_page.c @@ -661,7 +661,7 @@ vm_page_allocate_page(int page_state) if (p == NULL) { #ifdef DEBUG if (q->count != 0) - panic("queue %p corrupted, count = %ld\n", q, q->count); + panic("queue %p corrupted, count = %d\n", q, q->count); #endif // if the primary queue was empty, grap the page from the @@ -670,7 +670,7 @@ vm_page_allocate_page(int page_state) if (p == NULL) { #ifdef DEBUG if (q_other->count != 0) - panic("other queue %p corrupted, count = %ld\n", q_other, q_other->count); + panic("other queue %p corrupted, count = %d\n", q_other, q_other->count); #endif // ToDo: issue "someone" to free up some pages for us, and go into wait state until that's done