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:
Vadim Bendebury 2011-09-11 18:54:48 +00:00 committed by Wolfgang Denk
parent ff25d32c25
commit 3f96ee3347
1 changed files with 1 additions and 1 deletions

View File

@ -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: