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>
This commit is contained in:
Julius Werner 2022-02-08 16:37:41 -08:00
parent 5a835161a2
commit ababf01e0e
1 changed files with 1 additions and 0 deletions

View File

@ -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)