summaryrefslogtreecommitdiff
path: root/vm
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 /vm
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 'vm')
-rw-r--r--vm/vm_fault.c2
-rw-r--r--vm/vm_map.c2
-rw-r--r--vm/vm_object.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/vm/vm_fault.c b/vm/vm_fault.c
index 540d74e..509cb52 100644
--- a/vm/vm_fault.c
+++ b/vm/vm_fault.c
@@ -660,7 +660,7 @@ vm_fault_return_t vm_fault_page(first_object, first_offset,
m->offset + object->paging_offset,
PAGE_SIZE, access_required)) != KERN_SUCCESS) {
if (rc != MACH_SEND_INTERRUPTED)
- printf("%s(0x%x, 0x%x, 0x%x, 0x%x, 0x%x) failed, %d\n",
+ printf("%s(0x%p, 0x%p, 0x%x, 0x%x, 0x%x) failed, %d\n",
"memory_object_data_request",
object->pager,
object->pager_request,
diff --git a/vm/vm_map.c b/vm/vm_map.c
index 54c7470..43afe91 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -676,7 +676,7 @@ vm_map_pmap_enter(map, addr, end_addr, object, offset, protection)
if (vm_map_pmap_enter_print) {
printf("vm_map_pmap_enter:");
- printf("map: %x, addr: %x, object: %x, offset: %x\n",
+ printf("map: %p, addr: %x, object: %p, offset: %x\n",
map, addr, object, offset);
}
diff --git a/vm/vm_object.c b/vm/vm_object.c
index aac1c08..88e94b7 100644
--- a/vm/vm_object.c
+++ b/vm/vm_object.c
@@ -2539,7 +2539,7 @@ void vm_object_collapse(
/* Fall through to... */
default:
- printf("vm_object_collapse: %#x (pager %#x, request %#x) up to %#x\n",
+ printf("vm_object_collapse: %p (pager %p, request %p) up to %p\n",
backing_object, backing_object->pager, backing_object->pager_request,
object);
if (vm_object_collapse_debug > 2)