From ababf01e0ef59d265607355ea551c8869636dfc2 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Tue, 8 Feb 2022 16:37:41 -0800 Subject: [PATCH] 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 Change-Id: I845a784d90f65610fd1e0d751ea13e9af5b970fd Reviewed-on: https://review.coreboot.org/c/coreboot/+/61724 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/console/printk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/console/printk.c b/src/console/printk.c index 8db2c45f13..341c255538 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)