Common: Use more portable invocation of shm_open

This commit is contained in:
Jeffrey Pfau 2015-06-11 00:44:37 -07:00
parent 7085fcc8d6
commit b6d1512587
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{