[PATCH v3 2/6] kexec/kexec-elf-exec.c: Replace %lux with %lx
Askar Safin
safinaskar at zohomail.com
Tue Aug 19 02:05:01 PDT 2025
I think this is what author meant, because current code
prints decimal number, followed by literal "x".
I doubt this is useful
Fixes: d6bc88c0696 ("elf: Support ELF loading with relocation")
Signed-off-by: Askar Safin <safinaskar at zohomail.com>
---
kexec/kexec-elf-exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kexec/kexec-elf-exec.c b/kexec/kexec-elf-exec.c
index b337642..644af8a 100644
--- a/kexec/kexec-elf-exec.c
+++ b/kexec/kexec-elf-exec.c
@@ -167,7 +167,7 @@ int elf_exec_load_relocatable(struct mem_ehdr *ehdr, struct kexec_info *info,
int result;
if (reloc_min > reloc_max) {
- fprintf(stderr, "Bad relocation range, start=%lux > end=%lux.\n", reloc_min, reloc_max);
+ fprintf(stderr, "Bad relocation range, start=%lx > end=%lx.\n", reloc_min, reloc_max);
result = -1;
goto out;
}
--
2.47.2
More information about the kexec
mailing list