mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02: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:
committed by
Scott Wood
parent
389e6620e2
commit
d4bade8d77
@@ -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;
|
||||
|
Reference in New Issue
Block a user