about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ipc/shmdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/shmdt.c b/src/ipc/shmdt.c
index 2e198b3e..d4fac8f1 100644
--- a/src/ipc/shmdt.c
+++ b/src/ipc/shmdt.c
@@ -7,6 +7,6 @@ int shmdt(const void *addr)
 #ifdef SYS_shmdt
 	return syscall(SYS_shmdt, addr);
 #else
-	return syscall(SYS_ipc, IPCOP_shmdt, addr);
+	return syscall(SYS_ipc, IPCOP_shmdt, 0, 0, 0, addr);
 #endif
 }