summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-05-10 18:34:32 +0200
committerArthur Heymans <arthur@aheymans.xyz>2022-05-13 11:03:07 +0000
commit3ff19f8dcd9370097c323c570fe573d20ae73674 (patch)
tree9075ba7c58375a74fbec1b4352c0b8fd90af0633
parent54c38e4b88cefa6d850ebea98bba606983a9efc2 (diff)
downloadcoreboot-3ff19f8dcd9370097c323c570fe573d20ae73674.tar.gz
coreboot-3ff19f8dcd9370097c323c570fe573d20ae73674.tar.bz2
coreboot-3ff19f8dcd9370097c323c570fe573d20ae73674.zip
vendorcode/google/sar.c: Fix formatted print of size_t
Change-Id: If765f492befd9d08b5fe9e98c887bcf24ce1a7db Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64243 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/vendorcode/google/chromeos/sar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/google/chromeos/sar.c b/src/vendorcode/google/chromeos/sar.c
index 130f5fad6a03..4250b4ce7e57 100644
--- a/src/vendorcode/google/chromeos/sar.c
+++ b/src/vendorcode/google/chromeos/sar.c
@@ -145,7 +145,7 @@ static int fill_wifi_sar_limits(union wifi_sar_limits *sar_limits, const uint8_t
expected_sar_bin_size += dsm_table_size(sar_limits->dsm);
if (sar_bin_size != expected_sar_bin_size) {
- printk(BIOS_ERR, "Invalid SAR size, expected: %ld, obtained: %ld\n",
+ printk(BIOS_ERR, "Invalid SAR size, expected: %zu, obtained: %zu\n",
expected_sar_bin_size, sar_bin_size);
return -1;
}