Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
diff --git a/cpu/mpc86xx/traps.c b/cpu/mpc86xx/traps.c
index 5695c3e..13f386d 100644
--- a/cpu/mpc86xx/traps.c
+++ b/cpu/mpc86xx/traps.c
@@ -218,7 +218,7 @@
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);