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 <safinas...@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


Reply via email to