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:
parent
5a835161a2
commit
ababf01e0e
|
@ -74,6 +74,7 @@ static void wrap_interactive_printf(const char *fmt, ...)
|
||||||
va_list args;
|
va_list args;
|
||||||
va_start(args, fmt);
|
va_start(args, fmt);
|
||||||
vtxprintf(console_interactive_tx_byte, fmt, args, NULL);
|
vtxprintf(console_interactive_tx_byte, fmt, args, NULL);
|
||||||
|
va_end(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void line_start(union log_state state)
|
static void line_start(union log_state state)
|
||||||
|
|
Loading…
Reference in New Issue