git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa0015d
)
ctdb-daemon: Fix format-nonliteral warning
author
Amitay Isaacs
<amitay@gmail.com>
Tue, 2 Aug 2016 09:00:54 +0000
(19:00 +1000)
committer
Uri Simchoni
<uri@samba.org>
Wed, 10 Aug 2016 06:18:16 +0000
(08:18 +0200)
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>
ctdb/include/ctdb_private.h
patch
|
blob
|
history
diff --git
a/ctdb/include/ctdb_private.h
b/ctdb/include/ctdb_private.h
index 59af29633b26e71d657ce8f68479806e73a62019..532ae0a81a0f8abb53392b0cd3ed42d793e14907 100644
(file)
--- 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);