summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 476fdbc..dcf09de 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;
}