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:
@@ -661,7 +661,7 @@ vm_page_allocate_page(int page_state)
|
|||||||
if (p == NULL) {
|
if (p == NULL) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (q->count != 0)
|
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
|
#endif
|
||||||
|
|
||||||
// if the primary queue was empty, grap the page from the
|
// 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) {
|
if (p == NULL) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (q_other->count != 0)
|
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
|
#endif
|
||||||
|
|
||||||
// ToDo: issue "someone" to free up some pages for us, and go into wait state until that's done
|
// ToDo: issue "someone" to free up some pages for us, and go into wait state until that's done
|
||||||
|
|||||||
Reference in New Issue
Block a user