updates
[sahlberg/ctdb.git] / libctdb / tst.c
index 6e1cd2134f07dc9fdd95dfd126f892bd7b9833e1..6781746bbe29b3cb816c668ca4249965148d21c3 100644 (file)
@@ -20,7 +20,7 @@ int main(int argc, char *argv[])
 
        pfd.fd = libctdb_get_fd(ctdb_context);
 
-       state = libctdb_getrecmaster_send_cb(ctdb_context, 0, rm_cb, NULL);
+       state = libctdb_getrecmaster_cb_send(ctdb_context, 0, rm_cb, NULL);
 
        for (;;) {
          pfd.events = libctdb_which_events(ctdb_context);