summaryrefslogtreecommitdiffhomepage
path: root/compat/shm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/shm.cpp')
-rw-r--r--compat/shm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/shm.cpp b/compat/shm.cpp
index f09365f9..7b04e774 100644
--- a/compat/shm.cpp
+++ b/compat/shm.cpp
@@ -198,7 +198,7 @@ bool shm_wrapper::unlock()
#include <limits.h>
#pragma GCC diagnostic ignored "-Wunused-result"
-shm_wrapper::shm_wrapper(const char *shm_name, const char* /*mutex_name*/, int map_size) : size(mapSize)
+shm_wrapper::shm_wrapper(const char *shm_name, const char* /*mutex_name*/, int map_size) : size(map_size)
{
char filename[PATH_MAX+2] {};
strcpy(filename, "/");