summaryrefslogtreecommitdiffhomepage
path: root/libs/lmo/src
diff options
context:
space:
mode:
Diffstat (limited to 'libs/lmo/src')
-rw-r--r--libs/lmo/src/lmo_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/lmo/src/lmo_core.c b/libs/lmo/src/lmo_core.c
index b3cb7c0989..0754d0dc53 100644
--- a/libs/lmo/src/lmo_core.c
+++ b/libs/lmo/src/lmo_core.c
@@ -132,7 +132,7 @@ lmo_archive_t * lmo_open(const char *file)
goto cleanup;
}
- if( (ar->mmap = mmap(NULL, ar->length, PROT_READ, MAP_SHARED, ar->fd, 0)) == MAP_FAILED )
+ if( (ar->mmap = mmap(NULL, ar->length, PROT_READ, MAP_PRIVATE, ar->fd, 0)) == MAP_FAILED )
{
error("Failed to memory map archive contents", 1);
goto cleanup;