diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-10 13:16:09 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-10 13:16:09 +0200 |
commit | 06c53beae1a726e707971c555613f09b270a2461 (patch) | |
tree | 3e0d99e3062d27b8e3b99faf14e2be63fdfcff3e /examples | |
parent | c4b81f3238d77a4df343bd70ddfb7ebd29ca1dda (diff) | |
download | u-boot-imx-06c53beae1a726e707971c555613f09b270a2461.zip u-boot-imx-06c53beae1a726e707971c555613f09b270a2461.tar.gz u-boot-imx-06c53beae1a726e707971c555613f09b270a2461.tar.bz2 |
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/test_burst.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/test_burst.c b/examples/test_burst.c index f09707f..3157bc8 100644 --- a/examples/test_burst.c +++ b/examples/test_burst.c @@ -173,7 +173,7 @@ static int test_burst_start (unsigned long size, unsigned long pattern) int i, n; int res = 1; - printf ("Test pattern %08x ...", pattern); + printf ("Test pattern %08lx ...", pattern); n = size / 4; @@ -248,7 +248,7 @@ static void test_desc(unsigned long size) { printf( "The following tests will be conducted:\n" - "1) Map %d-byte region of physical RAM at 0x%08x\n" + "1) Map %ld-byte region of physical RAM at 0x%08x\n" " into two virtual regions:\n" " one cached at 0x%08x and\n" " the the other uncached at 0x%08x.\n", @@ -277,8 +277,8 @@ static void test_error( p[1] = val; p[2] = pattern; - printf ("\nError at step %s, addr %08x: read %08x, pattern %08x", - step, addr, val, pattern); + printf ("\nError at step %s, addr %08lx: read %08lx, pattern %08lx", + (unsigned long)step, addr, val, pattern); } static void signal_init(void) |