diff options
-rw-r--r-- | source3/tdb/tdbutil.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/tdb/tdbutil.c b/source3/tdb/tdbutil.c index ac3c5336f1..87dabf165d 100644 --- a/source3/tdb/tdbutil.c +++ b/source3/tdb/tdbutil.c @@ -489,13 +489,11 @@ TDB_CONTEXT *tdb_open_log(char *name, int hash_size, int tdb_flags, if (!lp_use_mmap()) tdb_flags |= TDB_NOMMAP; - tdb = tdb_open(name, hash_size, tdb_flags, - open_flags, mode); + tdb = tdb_open_ex(name, hash_size, tdb_flags, + open_flags, mode, tdb_log); if (!tdb) return NULL; - tdb_logging_function(tdb, tdb_log); - return tdb; } |