From b6d1512587f5129dc113c83872922df8ee16abed Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Thu, 11 Jun 2015 00:44:37 -0700 Subject: [PATCH] Common: Use more portable invocation of shm_open --- Source/Core/Common/MemArena.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/MemArena.cpp b/Source/Core/Common/MemArena.cpp index 291a23ed1f..31ed7f9c8f 100644 --- a/Source/Core/Common/MemArena.cpp +++ b/Source/Core/Common/MemArena.cpp @@ -63,7 +63,7 @@ void MemArena::GrabSHMSegment(size_t size) #else for (int i = 0; i < 10000; i++) { - std::string file_name = StringFromFormat("dolphinmem.%d", i); + std::string file_name = StringFromFormat("/dolphinmem.%d", i); fd = shm_open(file_name.c_str(), O_RDWR | O_CREAT | O_EXCL, 0600); if (fd != -1) {