summaryrefslogtreecommitdiff
path: root/common/env_onenand.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-07-12 14:36:34 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 16:55:00 +0200
commit0a5676befb0c590212a53f7627fa5d0d8a84bf34 (patch)
treeea6812919abaf744be8c7b5b904dc78244cbaa4d /common/env_onenand.c
parent18c8a28aad49803780bd8d52432ded528e37e701 (diff)
downloadu-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.zip
u-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.tar.gz
u-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.tar.bz2
Fix some more printf() format issues.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/env_onenand.c')
-rw-r--r--common/env_onenand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_onenand.c b/common/env_onenand.c
index ac8a8c1..ad5b1d7 100644
--- a/common/env_onenand.c
+++ b/common/env_onenand.c
@@ -103,7 +103,7 @@ int saveenv(void)
instr.addr = env_addr;
instr.addr -= (unsigned long)onenand_chip.base;
if (onenand_erase(&onenand_mtd, &instr)) {
- printf("OneNAND: erase failed at 0x%08x\n", env_addr);
+ printf("OneNAND: erase failed at 0x%08lx\n", env_addr);
return 1;
}