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>
This commit is contained in:
Arthur Heymans
2022-05-10 18:34:32 +02:00
parent 54c38e4b88
commit 3ff19f8dcd

View File

@ -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;
}