summaryrefslogtreecommitdiff
path: root/cmd/upl.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/upl.c')
-rw-r--r--cmd/upl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/upl.c b/cmd/upl.c
index c9745886507..4996f36c787 100644
--- a/cmd/upl.c
+++ b/cmd/upl.c
@@ -72,7 +72,7 @@ static int do_upl_write(struct cmd_tbl *cmdtp, int flag, int argc,
return CMD_RET_FAILURE;
}
addr = map_to_sysmem(abuf_data(&buf));
- printf("UPL handoff written to %lx size %lx\n", addr, abuf_size(&buf));
+ printf("UPL handoff written to %lx size %zx\n", addr, abuf_size(&buf));
if (env_set_hex("upladdr", addr) ||
env_set_hex("uplsize", abuf_size(&buf))) {
printf("Cannot set env var\n");