diff options
author | Amitay Isaacs <amitay@gmail.com> | 2016-08-07 18:14:31 +1000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-08-24 01:33:50 +0200 |
commit | e9b8751b587c1eabc4c1a7a7d75e3c4498c6ffc4 (patch) | |
tree | 4cc34d0a9c84146812822c50fd087e11706227cf /source3/lib/util_tdb.c | |
parent | a47e95337e96f3e62cde41680d94268f7ce58c6f (diff) | |
download | samba-e9b8751b587c1eabc4c1a7a7d75e3c4498c6ffc4.tar.gz |
s3-lib: 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 'source3/lib/util_tdb.c')
-rw-r--r-- | source3/lib/util_tdb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/util_tdb.c b/source3/lib/util_tdb.c index 7db711107da..1e533e82534 100644 --- a/source3/lib/util_tdb.c +++ b/source3/lib/util_tdb.c @@ -297,6 +297,9 @@ int tdb_unpack(const uint8_t *buf, int bufsize, const char *fmt, ...) Log tdb messages via DEBUG(). ****************************************************************************/ +static void tdb_log(TDB_CONTEXT *tdb, enum tdb_debug_level level, + const char *format, ...) PRINTF_ATTRIBUTE(3,4); + static void tdb_log(TDB_CONTEXT *tdb, enum tdb_debug_level level, const char *format, ...) { va_list ap; |