Skip to content
Commit 35b7ee34 authored by Andrew Lunn's avatar Andrew Lunn Committed by Pablo Neira Ayuso
Browse files

netfilter: nftables: Add __printf() attribute



nft_request_module calls vsnprintf() using parameters passed to it.
Make the function with __printf() attribute so the compiler can check
the format and arguments.

Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 3976ca10
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment