[PATCH v2 2/6] kexec/kexec-elf-exec.c: Replace %lux with %lx, this is what the author meant

Askar Safin safinaskar at zohomail.com
Wed Aug 6 20:25:06 PDT 2025


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