summaryrefslogtreecommitdiff
path: root/lib/tdb2/test/run-tdb1-traverse-in-transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb2/test/run-tdb1-traverse-in-transaction.c')
-rw-r--r--lib/tdb2/test/run-tdb1-traverse-in-transaction.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tdb2/test/run-tdb1-traverse-in-transaction.c b/lib/tdb2/test/run-tdb1-traverse-in-transaction.c
index 243f2d653f..0395bff7ce 100644
--- a/lib/tdb2/test/run-tdb1-traverse-in-transaction.c
+++ b/lib/tdb2/test/run-tdb1-traverse-in-transaction.c
@@ -8,7 +8,7 @@
#include <stdbool.h>
#include <err.h>
#include "tdb1-external-agent.h"
-#include "tdb1-logging.h"
+#include "logging.h"
static struct agent *agent;
@@ -42,9 +42,9 @@ int main(int argc, char *argv[])
if (!agent)
err(1, "preparing agent");
- tdb = tdb1_open_ex("run-traverse-in-transaction.tdb",
- 1024, TDB_DEFAULT, O_CREAT|O_TRUNC|O_RDWR,
- 0600, &taplogctx, NULL);
+ tdb = tdb1_open("run-traverse-in-transaction.tdb",
+ 1024, TDB_DEFAULT, O_CREAT|O_TRUNC|O_RDWR,
+ 0600, &tap_log_attr);
ok1(tdb);
key.dsize = strlen("hi");