From: Amitay Isaacs Date: Tue, 2 Aug 2016 09:00:54 +0000 (+1000) Subject: ctdb-daemon: Fix format-nonliteral warning X-Git-Tag: tevent-0.9.30~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5176354d1279f0e3c216c58ea8637579d9a6a389;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/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 59af29633b2..532ae0a81a0 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -605,7 +605,8 @@ int switch_from_server_to_client(struct ctdb_context *ctdb, /* From server/ctdb_fork.c */ -void ctdb_set_child_info(TALLOC_CTX *mem_ctx, const char *child_name_fmt, ...); +void ctdb_set_child_info(TALLOC_CTX *mem_ctx, const char *child_name_fmt, + ...) PRINTF_ATTRIBUTE(2,3); void ctdb_track_child(struct ctdb_context *ctdb, pid_t pid);