aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.go b/db.go
index 0ba0e41..8f0e90b 100644
--- a/db.go
+++ b/db.go
@@ -73,7 +73,7 @@ type DB struct {
path string
file *os.File
- dataref []byte
+ dataref []byte // mmap'ed readonly, write throws SEGV
data *[maxMapSize]byte
datasz int
meta0 *meta