diff options
Diffstat (limited to 'source3/tdb/tdbutil.c')
-rw-r--r-- | source3/tdb/tdbutil.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/tdb/tdbutil.c b/source3/tdb/tdbutil.c index 68a47a199d..038d98eef9 100644 --- a/source3/tdb/tdbutil.c +++ b/source3/tdb/tdbutil.c @@ -355,10 +355,8 @@ 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); + open_flags, mode, tdb_log); if (!tdb) return NULL; - tdb_logging_function(tdb, tdb_log); - return tdb; } |