summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 5106ef60f7..b210fb2504 100644
--- a/source3/libsmb/unexpected.c
+++ b/source3/libsmb/unexpected.c
@@ -49,7 +49,7 @@ void unexpected_packet(struct packet_struct *p)
int len=0;
if (!tdb) {
- tdb = tdb_open(lock_path("unexpected.tdb"), 0,
+ tdb = tdb_open(lock_path("unexpected.tdb"), 1,
TDB_CLEAR_IF_FIRST,
O_RDWR | O_CREAT, 0644);
if (!tdb) {