summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/unexpected.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c
index 41249aba56..7d221e173e 100644
--- a/source3/libsmb/unexpected.c
+++ b/source3/libsmb/unexpected.c
@@ -50,7 +50,7 @@ void unexpected_packet(struct packet_struct *p)
if (!tdbd) {
tdbd = tdb_open_log(lock_path("unexpected.tdb"), 1,
- TDB_CLEAR_IF_FIRST|USE_TDB_MMAP_FLAG,
+ TDB_CLEAR_IF_FIRST|TDB_DEFAULT,
O_RDWR | O_CREAT, 0644);
if (!tdbd) {
DEBUG(0,("Failed to open unexpected.tdb\n"));