summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorGreg V <greg@unrelenting.technology>2019-10-04 02:49:20 +0300
committerPatrick Georgi <pgeorgi@google.com>2019-10-09 22:15:38 +0000
commitae47a6f4fa4af9495dd907a4beb7d1fc2c137fe3 (patch)
tree2e659b8a6ab28e8d5056469874290549dfe7906a /src/ec
parent1c3dbdbbf6b15125529618f8aa97ff5e75630cd0 (diff)
downloadcoreboot-ae47a6f4fa4af9495dd907a4beb7d1fc2c137fe3.tar.xz
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>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/google/chromeec/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c
index 1b0f7eee03..7c294b66c8 100644
--- a/src/ec/google/chromeec/ec.c
+++ b/src/ec/google/chromeec/ec.c
@@ -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++;
}
}