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:
Greg V 2019-10-04 02:49:20 +03:00 committed by Patrick Georgi
parent 1c3dbdbbf6
commit ae47a6f4fa
1 changed files with 1 additions and 1 deletions

View File

@ -1063,7 +1063,7 @@ static void google_chromeec_log_uptimeinfo(void)
if ((cmd_resp.ec_reset_flags & (1 << flag)) != 0) {
if (flag_count)
printk(BIOS_DEBUG, " | ");
printk(BIOS_DEBUG, reset_flag_strings[flag]);
printk(BIOS_DEBUG, "%s", reset_flag_strings[flag]);
flag_count++;
}
}