summaryrefslogtreecommitdiff
path: root/source4/libcli/unexpected.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/unexpected.c')
-rw-r--r--source4/libcli/unexpected.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/unexpected.c b/source4/libcli/unexpected.c
index e109c9d5bf..19a02bdeb8 100644
--- a/source4/libcli/unexpected.c
+++ b/source4/libcli/unexpected.c
@@ -50,7 +50,7 @@ void unexpected_packet(struct packet_struct *p)
mem_ctx = talloc_init("receive_unexpected");
if (!mem_ctx) return;
tdbd = tdb_wrap_open(NULL, lock_path(mem_ctx, "unexpected.tdb"), 0,
- TDB_CLEAR_IF_FIRST|TDB_DEFAULT,
+ TDB_DEFAULT,
O_RDWR | O_CREAT, 0644);
talloc_destroy(mem_ctx);
if (!tdbd) {