Replace %lux, which prints a decimal number followed by literal 'x', with %lx, which prints the hexadecimal one. The latter is more useful for the (address) ranges.
Fixes: d6bc88c0696 ("elf: Support ELF loading with relocation") Reviewed-by: Andy Shevchenko <a...@kernel.org> 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