summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2011-11-29 15:17:09 +1100
committerMartin Schwenke <martin@meltin.net>2011-12-06 13:59:32 +1100
commitdbd452c801313ceba00b8fc89ffb7833b11524c2 (patch)
tree4f1d6c5eacef22119fd6474cf58e4475dc0f8f92
parentba6e6f689c30f30cd66c7b46741fe35918c745ad (diff)
downloadsamba-dbd452c801313ceba00b8fc89ffb7833b11524c2.tar.gz
samba-dbd452c801313ceba00b8fc89ffb7833b11524c2.tar.xz
samba-dbd452c801313ceba00b8fc89ffb7833b11524c2.zip
ctdb tool - replace fprintf with DEBUG
It's the only one in the file. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit bf1174ef699b06485b36ee8ae70412be0759e142)
-rw-r--r--ctdb/tools/ctdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c
index f7f683642d..1957617584 100644
--- a/ctdb/tools/ctdb.c
+++ b/ctdb/tools/ctdb.c
@@ -5361,7 +5361,7 @@ int main(int argc, const char *argv[])
ctdb_connection = ctdb_connect(socket_name,
ctdb_log_file, stderr);
if (ctdb_connection == NULL) {
- fprintf(stderr, "Failed to connect to daemon from libctdb\n");
+ DEBUG(DEBUG_ERR, ("Failed to connect to daemon from libctdb\n"));
exit(1);
}