64-bit fixes for kernel with KDEBUG_LEVEL = 0

Signed-off-by: Alex Smith <[email protected]>
This commit is contained in:
Sergei Reznikov
2012-12-18 14:56:16 +00:00
committed by Alex Smith
parent 6e5f42ccc9
commit b7b5d7636b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -891,7 +891,7 @@ dump_mutex_info(int argc, char** argv)
#if KDEBUG
kprintf(" holder: %" B_PRId32 "\n", lock->holder);
#else
kprintf(" count: %ld\n", lock->count);
kprintf(" count: %" B_PRId32 "\n", lock->count);
#endif
kprintf(" waiting threads:");
+1 -1
View File
@@ -209,7 +209,7 @@ dump_sem(struct sem_entry* sem)
else
unset_debug_variable("_releaser");
#else
kprintf("last acquired by: %ld\n", sem->u.used.last_acquirer);
kprintf("last acquired by: %" B_PRId32 "\n", sem->u.used.last_acquirer);
#endif
if (sem->u.used.last_acquirer != 0)