summaryrefslogtreecommitdiff
path: root/board/zeus/zeus.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-07-10 09:58:06 +0200
committerStefan Roese <sr@denx.de>2008-07-10 09:58:06 +0200
commitb002144e1dc21374b1ef5281fe6b5d014af96650 (patch)
tree896b31b7743d5d8a736e1f807bf32a95ec117f18 /board/zeus/zeus.c
parent5d812b8b4ad9667c77a5bf92b4ba81699abc9fc3 (diff)
downloadu-boot-imx-b002144e1dc21374b1ef5281fe6b5d014af96650.zip
u-boot-imx-b002144e1dc21374b1ef5281fe6b5d014af96650.tar.gz
u-boot-imx-b002144e1dc21374b1ef5281fe6b5d014af96650.tar.bz2
ppc4xx: Fix printf format warnings now visible with the updated format check
This patch fixes ppc4xx related printf format warning. Those warnings are now visible since patch dc4b0b38d4aadf08826f6c31270f1eecd27964fd [Fix printf errors.] by Andrew Klossner has been applied. Thanks, this is really helpful. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/zeus/zeus.c')
-rw-r--r--board/zeus/zeus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/zeus/zeus.c b/board/zeus/zeus.c
index 0113d48..33d971a 100644
--- a/board/zeus/zeus.c
+++ b/board/zeus/zeus.c
@@ -280,7 +280,7 @@ static int restore_default(void)
} else {
crc = crc32(0, (u8 *)(buf + 4), FACTORY_RESET_ENV_SIZE - 4);
if (crc != *(u32 *)buf) {
- printf("ERROR: crc mismatch %08lx %08lx\n", crc, *(u32 *)buf);
+ printf("ERROR: crc mismatch %08x %08x\n", crc, *(u32 *)buf);
return -1;
}