Fix additional breakage from the merge for change in signature for ctdb_cmdline_clien...
[sahlberg/ctdb.git] / tests / src / ctdb_update_record.c
index 5f4b9c1e2154ccc86100e6c3f544bc038cf4403e..c5f71a02a2459b3172a49a6aecd9ede55ebb7d28 100644 (file)
@@ -128,10 +128,10 @@ int main(int argc, const char *argv[])
 
        ev = event_context_init(NULL);
 
-       ctdb = ctdb_cmdline_client(ev);
+       ctdb = ctdb_cmdline_client(ev, timeval_current_ofs(5, 0));
 
        /* attach to a specific database */
-       ctdb_db = ctdb_attach(ctdb, "test.tdb", false, 0);
+       ctdb_db = ctdb_attach(ctdb, timeval_current_ofs(5, 0), "test.tdb", false, 0);
        if (!ctdb_db) {
                printf("ctdb_attach failed - %s\n", ctdb_errstr(ctdb));
                exit(1);