mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue