aboutsummaryrefslogtreecommitdiff
path: root/cpu/mpc86xx
diff options
context:
space:
mode:
authorWolfgang Denk2008-07-11 01:16:00 +0200
committerWolfgang Denk2008-07-11 01:16:00 +0200
commit9b55a2536919f4de1bb1044e6eb8262c2f53bc96 (patch)
tree56a8a946f45094770f1f4b3e10b2344191c6c40c /cpu/mpc86xx
parent4109df6f75fc00ab7da56d286ba50149a0d16a69 (diff)
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/mpc86xx')
-rw-r--r--cpu/mpc86xx/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc86xx/traps.c b/cpu/mpc86xx/traps.c
index 5695c3e453a..13f386ddc84 100644
--- a/cpu/mpc86xx/traps.c
+++ b/cpu/mpc86xx/traps.c
@@ -218,7 +218,7 @@ UnknownException(struct pt_regs *regs)
if (debugger_exception_handler && (*debugger_exception_handler) (regs))
return;
#endif
- printf("UnknownException regs@%x\n", regs);
+ printf("UnknownException regs@%lx\n", (ulong)regs);
printf("Bad trap at PC: %lx, SR: %lx, vector=%lx\n",
regs->nip, regs->msr, regs->trap);
_exception(0, regs);