mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
nand: fixup printf modifiers to match types used
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
parent
389e6620e2
commit
d4bade8d77
2 changed files with 8 additions and 8 deletions
|
@ -160,7 +160,7 @@ out:
|
|||
if (*size == nand->size)
|
||||
puts("whole chip\n");
|
||||
else
|
||||
printf("offset 0x%lx, size 0x%x\n", *off, *size);
|
||||
printf("offset 0x%lx, size 0x%zx\n", *off, *size);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -398,7 +398,7 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
return 1;
|
||||
}
|
||||
|
||||
printf(" %d bytes %s: %s\n", size,
|
||||
printf(" %zu bytes %s: %s\n", size,
|
||||
read ? "read" : "written", ret ? "ERROR" : "OK");
|
||||
|
||||
return ret == 0 ? 0 : 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue