ELOG: Fix warning to fix the compilation.
Without that fix we have: src/drivers/elog/elog.c: In function 'elog_is_header_valid': src/drivers/elog/elog.c:213:3: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Werror=format] Change-Id: I71b80a94c03a04eedb688ae107d92c05a878315e Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Reviewed-on: http://review.coreboot.org/3551 Reviewed-by: Nico Huber <nico.huber@secunet.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
c9246da4dd
commit
bc2c9efd56
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue