summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/ipc_kobject.c2
-rw-r--r--kern/sched_prim.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/kern/ipc_kobject.c b/kern/ipc_kobject.c
index 6d9f785..959cc0d 100644
--- a/kern/ipc_kobject.c
+++ b/kern/ipc_kobject.c
@@ -318,7 +318,7 @@ ipc_kobject_destroy(
default:
#if MACH_ASSERT
- printf("ipc_kobject_destroy: port 0x%x, kobj 0x%x, type %d\n",
+ printf("ipc_kobject_destroy: port 0x%p, kobj 0x%x, type %d\n",
port, port->ip_kobject, ip_kotype(port));
#endif /* MACH_ASSERT */
break;
diff --git a/kern/sched_prim.c b/kern/sched_prim.c
index ec3245d..a3bcbf8 100644
--- a/kern/sched_prim.c
+++ b/kern/sched_prim.c
@@ -1944,7 +1944,7 @@ do_runq_scan(
stuck_threads[stuck_count++] = thread;
if (do_thread_scan_debug)
- printf("do_runq_scan: adding thread %#x\n", thread);
+ printf("do_runq_scan: adding thread %p\n", thread);
}
count--;
thread = next;