tdb_compat: use tdb_open_compat.
[ira/wip.git] / source4 / torture / basic / mangle_test.c
index a15dc00939bc95b4be06ca67518e51e225ae4886..d549a0c1eb3cf6e601da1eaf65beaae5e534b1b6 100644 (file)
@@ -167,7 +167,7 @@ bool torture_mangle(struct torture_context *torture,
        int i;
 
        /* we will use an internal tdb to store the names we have used */
-       tdb = tdb_open(NULL, 100000, TDB_INTERNAL, 0, 0);
+       tdb = tdb_open_compat(NULL, 100000, TDB_INTERNAL, 0, 0, NULL, NULL);
        if (!tdb) {
                printf("ERROR: Failed to open tdb\n");
                return false;