]> git.sur5r.net Git - u-boot/commitdiff
cmd: mem: Show 64bit addresses which are tested
authorMichal Simek <michal.simek@xilinx.com>
Wed, 24 Feb 2016 07:36:02 +0000 (08:36 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2016 23:44:14 +0000 (18:44 -0500)
Fix print message to show full 64bit addresses.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
cmd/mem.c

index efa39296ef7a170e0f6463cd1a29c23bd446904b..a690957d0ff93b99296aea9acffd46306415a15e 100644 (file)
--- a/cmd/mem.c
+++ b/cmd/mem.c
@@ -1038,7 +1038,7 @@ static int do_mem_mtest(cmd_tbl_t *cmdtp, int flag, int argc,
                return -1;
        }
 
-       printf("Testing %08x ... %08x:\n", (uint)start, (uint)end);
+       printf("Testing %08lx ... %08lx:\n", start, end);
        debug("%s:%d: start %#08lx end %#08lx\n", __func__, __LINE__,
              start, end);