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:
Kyungmin Park 2009-07-20 09:47:47 +09:00 committed by Wolfgang Denk
parent 9c67352f72
commit 4828779238

View file

@ -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;
}