Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/62707 )
Change subject: cli_classic.c: Use correct format specifier for `size_t` ......................................................................
cli_classic.c: Use correct format specifier for `size_t`
The return value of `flashrom_flash_getsize()` is of `size_t` type.
Fixes: commit 83c5c50f91806df599fa9eebb654832879381772 Change-Id: I8025c0e046cb61e0e115d3786e6e4184190347f1 Signed-off-by: Angel Pons th3fanbus@gmail.com --- M cli_classic.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/07/62707/1
diff --git a/cli_classic.c b/cli_classic.c index dc3a651..b3930d2 100644 --- a/cli_classic.c +++ b/cli_classic.c @@ -715,7 +715,7 @@ }
if (flash_size) { - printf("%ld\n", flashrom_flash_getsize(fill_flash)); + printf("%zu\n", flashrom_flash_getsize(fill_flash)); goto out_shutdown; }