summaryrefslogtreecommitdiff
path: root/ctdb/include/ctdb_private.h
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2016-08-02 18:54:31 +1000
committerUri Simchoni <uri@samba.org>2016-08-10 08:18:16 +0200
commitd682ee99810caac489c20d8b673ff4b12a17d75f (patch)
treeca2c6ddd406026e137023eb35543895dc934abe2 /ctdb/include/ctdb_private.h
parentb201859372189b6e7d57e078a813861a1533aaf4 (diff)
downloadsamba-d682ee99810caac489c20d8b673ff4b12a17d75f.tar.gz
ctdb-daemon: Fix format-nonliteral warning
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12137 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Uri Simchoni <uri@samba.org>
Diffstat (limited to 'ctdb/include/ctdb_private.h')
-rw-r--r--ctdb/include/ctdb_private.h2
1 files changed, 1 insertions, 1 deletions
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 */