summaryrefslogtreecommitdiffstats
path: root/source4/torture/local
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-03-26 14:41:03 +0000
committerJeremy Allison <jra@samba.org>2014-03-31 22:52:14 +0200
commitd6db35d7a564ee556b74131ef4c3a3cdb8097e14 (patch)
tree1576430f97d46752b41efedbc8970d2eddf79f8e /source4/torture/local
parentf995c6e6d4bfe4a50ca0017c722bdfb329121958 (diff)
downloadsamba-d6db35d7a564ee556b74131ef4c3a3cdb8097e14.tar.gz
samba-d6db35d7a564ee556b74131ef4c3a3cdb8097e14.tar.xz
samba-d6db35d7a564ee556b74131ef4c3a3cdb8097e14.zip
tdb_wrap: Remove tdb_wrap_open_ again
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/local')
-rw-r--r--source4/torture/local/dbspeed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/local/dbspeed.c b/source4/torture/local/dbspeed.c
index 27d1e0ce15..185faecd96 100644
--- a/source4/torture/local/dbspeed.c
+++ b/source4/torture/local/dbspeed.c
@@ -64,9 +64,9 @@ static bool test_tdb_speed(struct torture_context *torture, const void *_data)
torture_comment(torture, "Testing tdb speed for sidmap\n");
- tdbw = tdb_wrap_open_(tmp_ctx, "test.tdb", 10000,
- lpcfg_tdb_flags(torture->lp_ctx, 0),
- O_RDWR|O_CREAT|O_TRUNC, 0600);
+ tdbw = tdb_wrap_open(tmp_ctx, "test.tdb", 10000,
+ lpcfg_tdb_flags(torture->lp_ctx, 0),
+ O_RDWR|O_CREAT|O_TRUNC, 0600);
if (!tdbw) {
torture_result(torture, TORTURE_FAIL, "Failed to open test.tdb");
goto failed;