Re-enable shared memory test prog

This commit is contained in:
Paul Dino Jones
2025-04-28 20:38:34 -04:00
parent c6f6a63ed7
commit 3d4f1914c6
3 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ int main(int argc, char* argv[])
pid = getpid();
fd = shm_open(TEST_MEM_FILE_LOCATION, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
fd = shm_open(SIMAPI_MEM_FILE, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
if (fd == -1)
{
perror("open");
@@ -99,7 +99,7 @@ int main(int argc, char* argv[])
}
tcsetattr(0, TCSANOW, &canonicalmode);
fd = shm_unlink(TEST_MEM_FILE_LOCATION);
fd = shm_unlink(SIMAPI_MEM_FILE);
if (fd == -1)
{
perror("unlink");