From d682ee99810caac489c20d8b673ff4b12a17d75f Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 2 Aug 2016 18:54:31 +1000 Subject: [PATCH] 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 --- ctdb/include/ctdb_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index cf30efdddcf..59af29633b2 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -601,7 +601,7 @@ int ctdb_control_getnodesfile(struct ctdb_context *ctdb, uint32_t opcode, void ctdb_shutdown_sequence(struct ctdb_context *ctdb, int exit_code); int switch_from_server_to_client(struct ctdb_context *ctdb, - const char *fmt, ...); + const char *fmt, ...) PRINTF_ATTRIBUTE(2,3); /* From server/ctdb_fork.c */ -- 2.47.2