From 48287792384a93d77d43aaaa1c06cac275bbe1bb Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Mon, 20 Jul 2009 09:47:47 +0900 Subject: Fix compiler warnings after loff_t change Now 'env_addr' type is loff_t so use correct field type. Signed-off-by: Kyungmin Park --- common/env_onenand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/env_onenand.c') diff --git a/common/env_onenand.c b/common/env_onenand.c index 476fdbce225..dcf09dee1bc 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; } -- cgit v1.2.3