summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/bootm.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-05-28 21:27:56 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2013-05-31 08:53:51 +0200
commit81118f1b7baa7de38172d0b372c88aee14f93aae (patch)
treec450723001b777048635904a23512d958d656ba0 /arch/arm/lib/bootm.c
parentbd43d2fddc883d542b7133fa9e83497fdef03b51 (diff)
downloadbarebox-81118f1b7baa7de38172d0b372c88aee14f93aae.tar.gz
barebox-81118f1b7baa7de38172d0b372c88aee14f93aae.tar.xz
ARM: Using unsigned specifiers for unsigned arguments for printf
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/lib/bootm.c')
-rw-r--r--arch/arm/lib/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index e7a0625d3b..0d3b59ecc8 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -326,7 +326,7 @@ static int aimage_load_resource(int fd, struct resource *r, void* buf, int ps)
ret = read_full(fd, buf, to_read);
if (ret < 0)
- printf("could not read dummy %d\n", to_read);
+ printf("could not read dummy %u\n", to_read);
return ret;
}