From 4f295b51c85ada0efca7594604ada44853ac32d5 Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 16 May 2007 01:56:12 +0000 Subject: 2007-05-15 Martin Hunt * vsprintf.c: Add comment about %p. * regs.c, stack*.c, sym.c: Fix %p calls. --- runtime/regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/regs.c') diff --git a/runtime/regs.c b/runtime/regs.c index ead4ed8f..227a237e 100644 --- a/runtime/regs.c +++ b/runtime/regs.c @@ -184,7 +184,7 @@ void _stp_print_regs(struct pt_regs * regs) _stp_printf("NIP: %016lX XER: %08X LR: %016lX CTR: %016lX\n", regs->nip, (unsigned int)regs->xer, regs->link, regs->ctr); - _stp_printf("REGS: %p TRAP: %04lx\n", regs, regs->trap); + _stp_printf("REGS: %016lx TRAP: %04lx\n", (long)regs, regs->trap); _stp_printf("MSR: %016lx CR: %08X\n", regs->msr, (unsigned int)regs->ccr); _stp_printf("DAR: %016lx DSISR: %016lx\n", -- cgit