Fixed warning with debug info turned on.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19122 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-10-25 15:29:41 +00:00
parent 297f89345f
commit 095ee89840

View File

@ -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