mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
sparc/module: Make it clear that relocation numbers are shown in hex
This is to ease debugging by removing the ambiguity of the shown number base. Signed-off-by: Koakuma <koachan@protonmail.com> Reviewed-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Andreas Larsson <andreas@gaisler.com>
This commit is contained in:
parent
05457d9617
commit
dee099fd9d
|
|
@ -142,7 +142,7 @@ int apply_relocate_add(Elf_Shdr *sechdrs,
|
|||
break;
|
||||
|
||||
default:
|
||||
printk(KERN_ERR "module %s: Unknown relocation: %x\n",
|
||||
printk(KERN_ERR "module %s: Unknown relocation: 0x%x\n",
|
||||
me->name,
|
||||
(int) (ELF_R_TYPE(rel[i].r_info) & 0xff));
|
||||
return -ENOEXEC;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user