diff options
| author | Dario Binacchi <[email protected]> | 2024-08-25 14:26:08 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-02 13:32:56 -0600 |
| commit | 8aee4c8111cf0d4a3f86ce48a9f83ffc42ab1cd8 (patch) | |
| tree | 83b2dbb5fa7c70a90102f6eced4638e59c067e99 /cmd/booti.c | |
| parent | 4f98e23b7aafcc36e8ef35620745c904361bd663 (diff) | |
cmd: booti: 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 <[email protected]>
Diffstat (limited to 'cmd/booti.c')
| -rw-r--r-- | cmd/booti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/booti.c b/cmd/booti.c index 6018cbacf0a..43e79e87201 100644 --- a/cmd/booti.c +++ b/cmd/booti.c @@ -78,7 +78,7 @@ static int booti_start(struct bootm_info *bmi) /* Handle BOOTM_STATE_LOADOS */ if (relocated_addr != ld) { - printf("Moving Image from 0x%lx to 0x%lx, end=%lx\n", ld, + printf("Moving Image from 0x%lx to 0x%lx, end=0x%lx\n", ld, relocated_addr, relocated_addr + image_size); memmove((void *)relocated_addr, (void *)ld, image_size); } |
