summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/common/ctdb_call.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-19 12:16:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:49 -0500
commit4c719f82c2fe69710cf30b3c71d3281ca1d79a62 (patch)
treed031f3aba39fff86aafd287119f10dccc644a645 /source4/cluster/ctdb/common/ctdb_call.c
parentc30b82c3ea088c2b76709e9413e3479c1e458314 (diff)
downloadsamba-4c719f82c2fe69710cf30b3c71d3281ca1d79a62.tar.gz
samba-4c719f82c2fe69710cf30b3c71d3281ca1d79a62.tar.bz2
samba-4c719f82c2fe69710cf30b3c71d3281ca1d79a62.zip
r20900: fix compiler warnings
metze (This used to be commit cb59eae91966e3e493c3c992d2b96965d17dac17)
Diffstat (limited to 'source4/cluster/ctdb/common/ctdb_call.c')
-rw-r--r--source4/cluster/ctdb/common/ctdb_call.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/cluster/ctdb/common/ctdb_call.c b/source4/cluster/ctdb/common/ctdb_call.c
index 5c0a00c6e9..2c11354ed5 100644
--- a/source4/cluster/ctdb/common/ctdb_call.c
+++ b/source4/cluster/ctdb/common/ctdb_call.c
@@ -117,6 +117,9 @@ static int ctdb_call_local(struct ctdb_context *ctdb, TDB_DATA key,
*/
static void ctdb_send_error(struct ctdb_context *ctdb,
struct ctdb_req_header *hdr, uint32_t status,
+ const char *fmt, ...) PRINTF_ATTRIBUTE(4,5);
+static void ctdb_send_error(struct ctdb_context *ctdb,
+ struct ctdb_req_header *hdr, uint32_t status,
const char *fmt, ...)
{
va_list ap;