git.samba.org
/
rusty
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
108e9c2
)
Update the ctdb tool to use the new signature for ctdb_connect()
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 5 Jun 2010 04:21:42 +0000
(14:21 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 5 Jun 2010 04:21:42 +0000
(14:21 +1000)
tools/ctdb.c
patch
|
blob
|
history
diff --git
a/tools/ctdb.c
b/tools/ctdb.c
index fc74ffbf58fc4323a7b24c1981fb8c788d4d9eab..b7e7df36b64c40de055adc4415f1ef13412f7dbc 100644
(file)
--- a/
tools/ctdb.c
+++ b/
tools/ctdb.c
@@
-4566,7
+4566,8
@@
int main(int argc, const char *argv[])
/* initialize a libctdb connection as well */
socket_name = ctdb_get_socketname(ctdb);
- ctdb_connection = ctdb_connect(socket_name);
+ ctdb_connection = ctdb_connect(socket_name,
+ ctdb_log_file, stderr);
if (ctdb_connection == NULL) {
fprintf(stderr, "Failed to connect to daemon from libctdb\n");
exit(1);