summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/elog/elog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c
index 1a794d90ab..71e908b4a9 100644
--- a/src/drivers/elog/elog.c
+++ b/src/drivers/elog/elog.c
@@ -210,7 +210,7 @@ static int elog_is_header_valid(struct elog_header *header)
return 0;
}
if (header->header_size != sizeof(*header)) {
- printk(BIOS_ERR, "ELOG: header size mismatch %u != %u\n",
+ printk(BIOS_ERR, "ELOG: header size mismatch %u != %zu\n",
header->header_size, sizeof(*header));
return 0;
}