diff options
Diffstat (limited to 'source/tdb/tdbtest.c')
-rw-r--r-- | source/tdb/tdbtest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/tdb/tdbtest.c b/source/tdb/tdbtest.c index 7f3b1d48b71..cfc6135a0ae 100644 --- a/source/tdb/tdbtest.c +++ b/source/tdb/tdbtest.c @@ -189,6 +189,7 @@ static int traverse_fn(TDB_CONTEXT *db, TDB_DATA key, TDB_DATA dbuf, void *state static void merge_test() { + int klen, dlen; int i; char keys[5][2]; TDB_DATA key, data; @@ -225,9 +226,8 @@ int main(int argc, char *argv[]) unlink("test.gdbm"); - db = tdb_open_ex("test.tdb", 0, TDB_CLEAR_IF_FIRST, - O_RDWR | O_CREAT | O_TRUNC, 0600, - tdb_log_to_stderr); + db = tdb_open("test.tdb", 0, TDB_CLEAR_IF_FIRST, + O_RDWR | O_CREAT | O_TRUNC, 0600); gdbm = gdbm_open("test.gdbm", 512, GDBM_WRITER|GDBM_NEWDB|GDBM_FAST, 0600, NULL); |