1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 07:02:34 +02:00

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>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/62707
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:
Angel Pons 2022-03-09 10:51:44 +01:00 committed by Anastasia Klimchuk
parent 78221212fa
commit dfa7451bf1

View File

@ -715,7 +715,7 @@ int main(int argc, char *argv[])
}
if (flash_size) {
printf("%ld\n", flashrom_flash_getsize(fill_flash));
printf("%zu\n", flashrom_flash_getsize(fill_flash));
goto out_shutdown;
}