From: Dario Binacchi Date: Sun, 25 Aug 2024 12:26:07 +0000 (+0200) Subject: bootm: adjust the print format X-Git-Url: https://repo.jachan.dev/J-u-boot.git/commitdiff_plain/4f98e23b7aafcc36e8ef35620745c904361bd663 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 --- diff --git a/boot/bootm.c b/boot/bootm.c index a61bbcfb45c..16a43d519a8 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);