mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
9c67352f72
commit
4828779238
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue