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:
Koakuma
2025-09-19 20:23:09 +02:00
committed by Andreas Larsson
parent 05457d9617
commit dee099fd9d
+1 -1
View File
@@ -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;