Added "use mmap" for HPUX.
[ira/wip.git] / source3 / libsmb / unexpected.c
index d757551963bc3dc484dcca5578916167fb9a7129..109e2b454abf3623efb094f21cbc60ae3d0a4302 100644 (file)
@@ -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,
+                              TDB_CLEAR_IF_FIRST|USE_TDB_MMAP_FLAG,
                               O_RDWR | O_CREAT, 0644);
                if (!tdbd) {
                        DEBUG(0,("Failed to open unexpected.tdb\n"));