mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 06:01:16 +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 83c5c50f91
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:

committed by
Anastasia Klimchuk

parent
78221212fa
commit
dfa7451bf1
@ -715,7 +715,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (flash_size) {
|
if (flash_size) {
|
||||||
printf("%ld\n", flashrom_flash_getsize(fill_flash));
|
printf("%zu\n", flashrom_flash_getsize(fill_flash));
|
||||||
goto out_shutdown;
|
goto out_shutdown;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user