summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-27 13:50:30 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-27 16:43:03 +0200
commite0e3accb07cfe3cbfda7c612402d4a9dd6a002d5 (patch)
tree94ac5cfbce4e8a67dcbdf8bbbefa01a43d5c515f /compat
parente4fa5befb61e8e611da2a8dbac2dd0153230f910 (diff)
compat/shm: fix Unix build
Diffstat (limited to 'compat')
-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, "/");