Fixed a warning.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9343 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-10-14 14:24:42 +00:00
parent c1a1413c4d
commit b51a65027b
+5 -5
View File
@@ -1,13 +1,13 @@
/* The thread scheduler */
/* /*
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved. ** Copyright 2002-2004, The Haiku Team. All rights reserved.
** Distributed under the terms of the OpenBeOS License. ** Distributed under the terms of the Haiku License.
** **
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. ** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License. ** Distributed under the terms of the NewOS License.
*/ */
/* The thread scheduler */
#include <OS.h> #include <OS.h>
#include <thread.h> #include <thread.h>
@@ -57,7 +57,7 @@ dump_run_queue(int argc, char **argv)
dprintf("Run queue is empty!\n"); dprintf("Run queue is empty!\n");
else { else {
while (thread) { while (thread) {
dprintf("Thread id: %ld - priority: %d\n", thread->id, thread->priority); dprintf("Thread id: %ld - priority: %ld\n", thread->id, thread->priority);
thread = thread->queue_next; thread = thread->queue_next;
} }
} }