提交 3f96ee33 编写于 作者: V Vadim Bendebury 提交者: Wolfgang Denk

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: NVadim Bendebury <vbendeb@chromium.org>
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 ff25d32c
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册