diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c index fdc88c5a60e356f89e70c7a3704572c34c6d5e5a..c6073056badf02293c7e9d1e35dce9bb88536c67 100644 --- a/kernel/bpf/verifier.c +++ b/kernel/bpf/verifier.c @@ -214,7 +214,7 @@ static DEFINE_MUTEX(bpf_verifier_lock); * verbose() is used to dump the verification trace to the log, so the user * can figure out what's wrong with the program */ -static void verbose(const char *fmt, ...) +static __printf(1, 2) void verbose(const char *fmt, ...) { va_list args;