projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c67352
)
Fix compiler warnings after loff_t change
author
Kyungmin Park
<kmpark@infradead.org>
Mon, 20 Jul 2009 00:47:47 +0000
(09:47 +0900)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 26 Jul 2009 22:08:50 +0000
(
00:08
+0200)
Now 'env_addr' type is loff_t so use correct field type.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
common/env_onenand.c
patch
|
blob
|
history
diff --git
a/common/env_onenand.c
b/common/env_onenand.c
index
476fdbc
..
dcf09de
100644
(file)
--- 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%08l
l
x\n", env_addr);
return 1;
}