From: Amitay Isaacs Date: Tue, 2 Aug 2016 08:58:51 +0000 (+1000) Subject: ctdb-daemon: Fix format-nonliteral warning X-Git-Tag: tevent-0.9.30~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa0015d9adbd3c98957dc61d04b7ffcaa6703e0f;p=thirdparty%2Fsamba.git ctdb-daemon: Fix format-nonliteral warning BUG: https://bugzilla.samba.org/show_bug.cgi?id=12137 Signed-off-by: Amitay Isaacs Reviewed-by: Uri Simchoni --- diff --git a/ctdb/server/eventscript.c b/ctdb/server/eventscript.c index 17e4f353500..bd5bc0d6b94 100644 --- a/ctdb/server/eventscript.c +++ b/ctdb/server/eventscript.c @@ -703,6 +703,14 @@ static int remove_callback(struct event_script_callback *callback) run the event script in the background, calling the callback when finished */ +static int ctdb_event_script_callback_v(struct ctdb_context *ctdb, + const void *mem_ctx, + void (*callback)(struct ctdb_context *, int, void *), + void *private_data, + enum ctdb_event call, + const char *fmt, va_list ap) + PRINTF_ATTRIBUTE(6,0); + static int ctdb_event_script_callback_v(struct ctdb_context *ctdb, const void *mem_ctx, void (*callback)(struct ctdb_context *, int, void *),