ec/google/chromeec: fix format security warning
Change-Id: I7a7bcb56523d595e8d4f32849aac53d66d416a12 Signed-off-by: Greg V <greg@unrelenting.technology> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35866 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
1c3dbdbbf6
commit
ae47a6f4fa
|
@ -1063,7 +1063,7 @@ static void google_chromeec_log_uptimeinfo(void)
|
||||||
if ((cmd_resp.ec_reset_flags & (1 << flag)) != 0) {
|
if ((cmd_resp.ec_reset_flags & (1 << flag)) != 0) {
|
||||||
if (flag_count)
|
if (flag_count)
|
||||||
printk(BIOS_DEBUG, " | ");
|
printk(BIOS_DEBUG, " | ");
|
||||||
printk(BIOS_DEBUG, reset_flag_strings[flag]);
|
printk(BIOS_DEBUG, "%s", reset_flag_strings[flag]);
|
||||||
flag_count++;
|
flag_count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue