summaryrefslogtreecommitdiffstats
path: root/runtime/regs.c
diff options
context:
space:
mode:
authorhunt <hunt>2007-05-16 01:56:12 +0000
committerhunt <hunt>2007-05-16 01:56:12 +0000
commit4f295b51c85ada0efca7594604ada44853ac32d5 (patch)
treea742fc02095a3eb655d6caa0f612790e72dbd6eb /runtime/regs.c
parent3c3dbd3bc57a1db3972ee9ebbf15d95402375146 (diff)
downloadsystemtap-steved-4f295b51c85ada0efca7594604ada44853ac32d5.tar.gz
systemtap-steved-4f295b51c85ada0efca7594604ada44853ac32d5.tar.xz
systemtap-steved-4f295b51c85ada0efca7594604ada44853ac32d5.zip
2007-05-15 Martin Hunt <hunt@redhat.com>
* vsprintf.c: Add comment about %p. * regs.c, stack*.c, sym.c: Fix %p calls.
Diffstat (limited to 'runtime/regs.c')
-rw-r--r--runtime/regs.c2
1 files changed, 1 insertions, 1 deletions
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",