From 1772584c35189cba517c26bbde3205447f875952 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 6 Sep 2001 05:45:07 +0000 Subject: actually obey the "use mmap" smb.conf option (This used to be commit b36c98036bcbaa5545c9637cb632361122033cfd) --- source3/libsmb/unexpected.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb/unexpected.c') diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c index 109e2b454a..41249aba56 100644 --- a/source3/libsmb/unexpected.c +++ b/source3/libsmb/unexpected.c @@ -151,7 +151,7 @@ struct packet_struct *receive_unexpected(enum packet_type packet_type, int id, { TDB_CONTEXT *tdb2; - tdb2 = tdb_open(lock_path("unexpected.tdb"), 0, 0, O_RDONLY, 0); + tdb2 = tdb_open_log(lock_path("unexpected.tdb"), 0, 0, O_RDONLY, 0); if (!tdb2) return NULL; matched_packet = NULL; -- cgit