summaryrefslogtreecommitdiff
path: root/source3/tdb/tdbtorture.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tdb/tdbtorture.c')
-rw-r--r--source3/tdb/tdbtorture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/tdb/tdbtorture.c b/source3/tdb/tdbtorture.c
index 4e12386d73..1cce60dc22 100644
--- a/source3/tdb/tdbtorture.c
+++ b/source3/tdb/tdbtorture.c
@@ -177,8 +177,8 @@ int main(int argc, char *argv[])
if ((pids[i+1]=fork()) == 0) break;
}
- db = tdb_open("torture.tdb", 2, TDB_CLEAR_IF_FIRST,
- O_RDWR | O_CREAT, 0600, tdb_log_to_stderr);
+ db = tdb_open_ex("torture.tdb", 2, TDB_CLEAR_IF_FIRST,
+ O_RDWR | O_CREAT, 0600, tdb_log_to_stderr);
if (!db) {
fatal("db open failed");
}