summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MemArena.cpp
diff options
context:
space:
mode:
authorJeffrey Pfau <jeffrey@endrift.com>2015-06-11 00:44:37 -0700
committerJeffrey Pfau <jeffrey@endrift.com>2015-07-11 23:09:11 -0700
commita6437f629c68169983bf61c2188b743937f19ff3 (patch)
treeac3612d931ddb56dd3e6ffa2221cf6a1b4e73b33 /Source/Core/Common/MemArena.cpp
parent2eb553fdb72d5605c3f17324580859127a93d674 (diff)
Common: Use more portable invocation of shm_open
Diffstat (limited to 'Source/Core/Common/MemArena.cpp')
-rw-r--r--Source/Core/Common/MemArena.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{