chromeos: fix compilation with size_t formatting
%d is not appropriate for size_t types. %zd is required. BUG=None BRANCH=None TEST=Built on 64-bit. Change-Id: I4e1d2275b6ee7d7c8d23edb84701a52a3844d38f Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/225900 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Anatol Pomazau <anatol@google.com>
This commit is contained in:
parent
a0c47a8d74
commit
7b774d77df
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ void cbmem_add_vpd_calibration_data(void)
|
|||
cbmem_entry_size += sizeof(struct calibration_entry);
|
||||
cbmem_entry = cbmem_add(CBMEM_ID_WIFI_CALIBRATION, cbmem_entry_size);
|
||||
if (!cbmem_entry) {
|
||||
printk(BIOS_ERR, "%s: no room in cbmem table to add %d bytes\n",
|
||||
printk(BIOS_ERR, "%s: no room in cbmem to add %zd bytes\n",
|
||||
__func__, cbmem_entry_size);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue