We have them defined as hex constants in lib/s390x/asm/arch_def.h so why not print them as hex values? Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx> Reviewed-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx> Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx> --- lib/s390x/interrupt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/s390x/interrupt.c b/lib/s390x/interrupt.c index 126d4c0a..27d3b767 100644 --- a/lib/s390x/interrupt.c +++ b/lib/s390x/interrupt.c @@ -169,7 +169,7 @@ static void print_pgm_info(struct stack_frame_int *stack) lc->pgm_old_psw.addr <= (uintptr_t)sie_exit); printf("\n"); - printf("Unexpected program interrupt %s: %d on cpu %d at %#lx, ilen %d\n", + printf("Unexpected program interrupt %s: %#x on cpu %d at %#lx, ilen %d\n", in_sie ? "in SIE" : "", lc->pgm_int_code, stap(), lc->pgm_old_psw.addr, lc->pgm_int_id); print_int_regs(stack); -- 2.30.2