tdb2: Remove unused tdb1 functions.
[ccan] / ccan / tdb2 / test / tdb1-external-agent.c
index 3f73ae3aaf5b713caf40a3daf2c042830cf46ade..da9d70946861a38959287b4b405776a88ac93f62 100644 (file)
@@ -36,7 +36,7 @@ static enum agent_return do_operation(enum operation op, const char *name)
        switch (op) {
        case OPEN:
                if (tdb) {
-                       diag("Already have tdb %s open", tdb1_name(tdb));
+                       diag("Already have tdb %s open", tdb->name);
                        return OTHER_FAILURE;
                }
                tdb = tdb1_open_ex(name, 0, TDB1_DEFAULT, O_RDWR, 0,