aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/xmon/dis-asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/xmon/dis-asm.h')
-rw-r--r--arch/powerpc/xmon/dis-asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/xmon/dis-asm.h b/arch/powerpc/xmon/dis-asm.h
index c4d246ebca37..c4c982d6402e 100644
--- a/arch/powerpc/xmon/dis-asm.h
+++ b/arch/powerpc/xmon/dis-asm.h
@@ -13,13 +13,13 @@ extern int print_insn_spu(unsigned long insn, unsigned long memaddr);
#else
static inline int print_insn_powerpc(unsigned long insn, unsigned long memaddr)
{
- printf("%.8x", insn);
+ printf("%.8lx", insn);
return 0;
}
static inline int print_insn_spu(unsigned long insn, unsigned long memaddr)
{
- printf("%.8x", insn);
+ printf("%.8lx", insn);
return 0;
}
#endif