mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 21:24:21 +08:00
sf: fix debug format string warning
On some systems, we get a warning when %lu is used with size_t's, so use the correct format string. Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
ff25d32c25
commit
3f96ee3347
@ -233,7 +233,7 @@ int spi_flash_cmd_erase(struct spi_flash *flash, u8 erase_cmd,
|
||||
goto out;
|
||||
}
|
||||
|
||||
debug("SF: Successfully erased %lu bytes @ %#x\n",
|
||||
debug("SF: Successfully erased %zu bytes @ %#x\n",
|
||||
len * erase_size, start);
|
||||
|
||||
out:
|
||||
|
Loading…
Reference in New Issue
Block a user