summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKyungmin Park <kmpark@infradead.org>2009-07-20 09:47:47 +0900
committerWolfgang Denk <wd@denx.de>2009-07-27 00:08:50 +0200
commit48287792384a93d77d43aaaa1c06cac275bbe1bb (patch)
treebccb1c1dd500e1760ca785a8a985cacf78b6bf14 /common
parent9c67352f727a5b5eff531c852f9cff59fcb17f7f (diff)
Fix compiler warnings after loff_t change
Now 'env_addr' type is loff_t so use correct field type. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'common')
-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 476fdbce22..dcf09dee1b 100644
--- a/common/env_onenand.c
+++ b/common/env_onenand.c
@@ -101,7 +101,7 @@ int saveenv(void)
instr.addr = env_addr;
instr.mtd = mtd;
if (mtd->erase(mtd, &instr)) {
- printf("OneNAND: erase failed at 0x%08lx\n", env_addr);
+ printf("OneNAND: erase failed at 0x%08llx\n", env_addr);
return 1;
}