summaryrefslogtreecommitdiffstats
path: root/src/console/printk.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2022-02-08 16:37:41 -0800
committerJulius Werner <jwerner@chromium.org>2022-02-09 17:38:54 +0000
commitababf01e0ef59d265607355ea551c8869636dfc2 (patch)
tree3fb178f2c95ea906fc494ff038a72be8ee0e4b78 /src/console/printk.c
parent5a835161a24e08e35962f3e5737d042056679655 (diff)
downloadcoreboot-ababf01e0ef59d265607355ea551c8869636dfc2.tar.gz
coreboot-ababf01e0ef59d265607355ea551c8869636dfc2.tar.bz2
coreboot-ababf01e0ef59d265607355ea551c8869636dfc2.zip
console: Add missing va_end() in wrap_interactive_printf()
I think this doesn't do anything on most architectures, but it should still be there just in case. Found by Coverity. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I845a784d90f65610fd1e0d751ea13e9af5b970fd Reviewed-on: https://review.coreboot.org/c/coreboot/+/61724 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/console/printk.c')
-rw-r--r--src/console/printk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/console/printk.c b/src/console/printk.c
index 8db2c45f138d..341c25553840 100644
--- a/src/console/printk.c
+++ b/src/console/printk.c
@@ -74,6 +74,7 @@ static void wrap_interactive_printf(const char *fmt, ...)
va_list args;
va_start(args, fmt);
vtxprintf(console_interactive_tx_byte, fmt, args, NULL);
+ va_end(args);
}
static void line_start(union log_state state)