summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-07-17 01:22:38 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:16 +0200
commit59eccaaff458eaaf0b7a6c6b845d6f7975cc2051 (patch)
tree91074810f849f0820d1c44db7cd8389a6edbef5a /kern
parentac8b97ff4aea252ee83107033b704b5ab9cf58b0 (diff)
2008-07-15 Barry deFreese <bddebian@comcast.net>
* device/dev_pager.c (device_pager_data_request, device_pager_data_request_done, device_pager_init_pager): Fix printf formats. * i386/i386/debug_i386.c (dump_ss): Likewise. * i386/i386/trap.c (user_trap): Likewise. * i386/i386at/com.c (comtimer): Likewise. * ipc/ipc_notify (ipc_notify_port_deleted, ipc_notify_msg_accepted, ipc_notify_port_destroyed, ipc_notify_no_senders, ipc_notify_send_once, ipc_notify_dead_name): Likewise. * kern/ipc_kobject.c (ipc_kobject_destroy): Likewise. * kern/sched_prim.c (do_runq_scan): Likewise. * linux/pcmcia-cs/clients/smc91c92_cs.c (smc_start_xmit): Likewise. * linux/src/drivers/net/sundance.c (start_tx): Likewise. * vm/vm_fault.c (vm_fault_page): Likewise. * vm/vm_map.c (vm_map_pmap_enter): Likewise. * vm/vm_object.c (vm_object_collapse): Likewise.
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;