summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/common/ldb_debug.c')
-rw-r--r--source4/lib/ldb/common/ldb_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb_debug.c b/source4/lib/ldb/common/ldb_debug.c
index d59f9284b0..0a187cd62d 100644
--- a/source4/lib/ldb/common/ldb_debug.c
+++ b/source4/lib/ldb/common/ldb_debug.c
@@ -52,6 +52,8 @@ int ldb_set_debug(struct ldb_context *ldb,
debug function for ldb_set_debug_stderr
*/
static void ldb_debug_stderr(void *context, enum ldb_debug_level level,
+ const char *fmt, va_list ap) PRINTF_ATTRIBUTE(3,0);
+static void ldb_debug_stderr(void *context, enum ldb_debug_level level,
const char *fmt, va_list ap)
{
if (level <= LDB_DEBUG_WARNING) {