tdb_compat: use tdb_open_compat.
[kai/samba.git] / source3 / torture / mangle_test.c
index b9e3f6a8cf4e8c70eca46929e92964a53305f539..4fc91dc4b3af6e76c27ebd4186adc1f67f456399 100644 (file)
@@ -181,7 +181,7 @@ bool torture_mangle(int dummy)
        }
 
        /* 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;