Update the ctdb tool to use the new signature for ctdb_connect()
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sat, 5 Jun 2010 04:21:42 +0000 (14:21 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sat, 5 Jun 2010 04:21:42 +0000 (14:21 +1000)
tools/ctdb.c

index fc74ffbf58fc4323a7b24c1981fb8c788d4d9eab..b7e7df36b64c40de055adc4415f1ef13412f7dbc 100644 (file)
@@ -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);