tdb_wrap: Remove tdb_wrap_open_ again
[kai/samba-autobuild/.git] / source3 / modules / vfs_posix_eadb.c
index 7f65beafc489852a8f88a5e66b5f7be28415c36e..27996db73db0a9ce4a7cb50fea7ddb292fb27791 100644 (file)
@@ -256,9 +256,9 @@ static bool posix_eadb_init(int snum, struct tdb_wrap **p_db)
        lp_ctx = loadparm_init_s3(NULL, loadparm_s3_helpers());
 
        become_root();
-       db = tdb_wrap_open_(NULL, eadb, 50000,
-                           lpcfg_tdb_flags(lp_ctx, TDB_DEFAULT),
-                           O_RDWR|O_CREAT, 0600);
+       db = tdb_wrap_open(NULL, eadb, 50000,
+                          lpcfg_tdb_flags(lp_ctx, TDB_DEFAULT),
+                          O_RDWR|O_CREAT, 0600);
 
        unbecome_root();
        talloc_unlink(NULL, lp_ctx);