diff options
author | Amitay Isaacs <amitay@gmail.com> | 2016-08-08 17:59:08 +1000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-08-24 01:33:51 +0200 |
commit | b077969a72a8010b7fac37102eb1d0c1a2111fc4 (patch) | |
tree | f727cf056335f19479b4aa7084f19057b968b248 /source4/torture/dns | |
parent | c1a791e17c6e94c7d33351c420f238b06461a044 (diff) | |
download | samba-b077969a72a8010b7fac37102eb1d0c1a2111fc4.tar.gz |
torture: Fix format-nonliteral warning
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12168
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/dns')
-rw-r--r-- | source4/torture/dns/dlz_bind9.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/dns/dlz_bind9.c b/source4/torture/dns/dlz_bind9.c index de07f67e814..d7f4c991429 100644 --- a/source4/torture/dns/dlz_bind9.c +++ b/source4/torture/dns/dlz_bind9.c @@ -33,6 +33,9 @@ struct torture_context *tctx_static; static void dlz_bind9_log_wrapper(int level, const char *fmt, ...) + PRINTF_ATTRIBUTE(2,3); + +static void dlz_bind9_log_wrapper(int level, const char *fmt, ...) { va_list ap; char *msg; |