summaryrefslogtreecommitdiff
path: root/tools/kwbimage.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-09-15 21:13:27 +0200
committerWolfgang Denk <wd@denx.de>2009-09-15 21:32:19 +0200
commitceb2d57c2205db5bbd868577f756c74a2568160c (patch)
tree0391c8703029ef136e4431a2059a5662af68e921 /tools/kwbimage.c
parent6c7bc91fb3dba186d3398a1653f6db236510ffa7 (diff)
downloadu-boot-ceb2d57c2205db5bbd868577f756c74a2568160c.tar.gz
kwbimage.c: Fix compile warning when building on 64 bit systems (again)
Commit 51003b89 attempted to fix a build problem on 64 bit systems, but just turned it into a build problem on 32 bit systems (silly me). Now do the Right Thing (TM) and use a "%zu" printf format. Also fix spelling error. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'tools/kwbimage.c')
-rw-r--r--tools/kwbimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index ee067cbd81..7b26920185 100644
--- a/tools/kwbimage.c
+++ b/tools/kwbimage.c
@@ -131,7 +131,7 @@ static uint32_t kwbimage_checksum32 (uint32_t *start, uint32_t len, uint32_t csu
return 0;
if (len % sizeof(uint32_t)) {
- printf ("Error:%s[%d] - lenght is not in multiple of %ld\n",
+ printf ("Error:%s[%d] - length is not in multiple of %zu\n",
__FUNCTION__, len, sizeof(uint32_t));
return 0;
}