diff options
-rw-r--r-- | compat/compat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/compat.cpp b/compat/compat.cpp index 8ac872d1..bcdbd17f 100644 --- a/compat/compat.cpp +++ b/compat/compat.cpp @@ -59,7 +59,7 @@ PortableLockedShm::PortableLockedShm(const char *shmName, const char* /*mutexNam fprintf(stderr, "oh, bother, ftruncate: %s\n", strerror(errno)); //mem = (void*) -1; } - mem = mmap(NULL, mapSize, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANON, fd, (off_t)0); + mem = mmap(NULL, mapSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, (off_t)0); } PortableLockedShm::~PortableLockedShm() |