From 4f98e23b7aafcc36e8ef35620745c904361bd663 Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Sun, 25 Aug 2024 14:26:07 +0200 Subject: [PATCH] bootm: adjust the print format All three addresses printed are in hexadecimal format, but only the first two have the "0x" prefix. The patch aligns the format of the "end" address with the other two by adding the "0x" prefix. Signed-off-by: Dario Binacchi Reviewed-by: Mattijs Korpershoek Reviewed-by: Tom Rini --- boot/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootm.c b/boot/bootm.c index a61bbcfb45..16a43d519a 100644 --- a/boot/bootm.c +++ b/boot/bootm.c @@ -684,7 +684,7 @@ static int bootm_load_os(struct bootm_headers *images, int boot_progress) /* Handle BOOTM_STATE_LOADOS */ if (relocated_addr != load) { - printf("Moving Image from 0x%lx to 0x%lx, end=%lx\n", + printf("Moving Image from 0x%lx to 0x%lx, end=0x%lx\n", load, relocated_addr, relocated_addr + image_size); memmove((void *)relocated_addr, load_buf, image_size); -- 2.39.5