diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-07-17 01:22:38 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:16 +0200 |
commit | 59eccaaff458eaaf0b7a6c6b845d6f7975cc2051 (patch) | |
tree | 91074810f849f0820d1c44db7cd8389a6edbef5a /i386 | |
parent | ac8b97ff4aea252ee83107033b704b5ab9cf58b0 (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 'i386')
-rw-r--r-- | i386/i386/debug_i386.c | 2 | ||||
-rw-r--r-- | i386/i386/trap.c | 2 | ||||
-rw-r--r-- | i386/i386at/com.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386/debug_i386.c b/i386/i386/debug_i386.c index b897e63..f3e1883 100644 --- a/i386/i386/debug_i386.c +++ b/i386/i386/debug_i386.c @@ -29,7 +29,7 @@ void dump_ss(struct i386_saved_state *st) { - printf("Dump of i386_saved_state %08x:\n", st); + printf("Dump of i386_saved_state %p:\n", st); printf("EAX %08x EBX %08x ECX %08x EDX %08x\n", st->eax, st->ebx, st->ecx, st->edx); printf("ESI %08x EDI %08x EBP %08x ESP %08x\n", diff --git a/i386/i386/trap.c b/i386/i386/trap.c index ebb327c..faee218 100644 --- a/i386/i386/trap.c +++ b/i386/i386/trap.c @@ -374,7 +374,7 @@ int user_trap(regs) extern vm_offset_t phys_last_addr; if ((vm_offset_t)thread < phys_last_addr) { - printf("user_trap: bad thread pointer 0x%x\n", thread); + printf("user_trap: bad thread pointer 0x%p\n", thread); printf("trap type %d, code 0x%x, va 0x%x, eip 0x%x\n", regs->trapno, regs->err, regs->cr2, regs->eip); asm volatile ("1: hlt; jmp 1b"); diff --git a/i386/i386at/com.c b/i386/i386at/com.c index e0d6878..300a60b 100644 --- a/i386/i386at/com.c +++ b/i386/i386at/com.c @@ -676,7 +676,7 @@ comtimer() if (++comtimer_state[i] < 2) continue; /* Its stuck */ -printf("Tty %x was stuck\n", tp); +printf("Tty %p was stuck\n", tp); nch = getc(&tp->t_outq); outb(TXRX((int)tp->t_addr), nch); } |