mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 05:31:17 -04:00
selftests/bpf: Add missing va_end.
There is no va_end after va_copy, just add it. Signed-off-by: Zhang Jiao <zhangjiao2@cmss.chinamobile.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20240924045534.8672-1-zhangjiao2@cmss.chinamobile.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
committed by
Alexei Starovoitov
parent
7bae563c0d
commit
a1ec23b947
@@ -868,6 +868,7 @@ static int libbpf_print_fn(enum libbpf_print_level level,
|
||||
|
||||
va_copy(args2, args);
|
||||
vfprintf(libbpf_capture_stream, format, args2);
|
||||
va_end(args2);
|
||||
}
|
||||
|
||||
if (env.verbosity < VERBOSE_VERY && level == LIBBPF_DEBUG)
|
||||
|
||||
Reference in New Issue
Block a user