about summary refs log tree commit diff
path: root/src/ipc/shmctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/shmctl.c')
-rw-r--r--src/ipc/shmctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/shmctl.c b/src/ipc/shmctl.c
index c951a581..c2b2bb0d 100644
--- a/src/ipc/shmctl.c
+++ b/src/ipc/shmctl.c
@@ -17,7 +17,7 @@ int shmctl(int id, int cmd, struct shmid_ds *buf)
 		buf = &tmp;
 	}
 #endif
-#ifdef SYS_shmctl
+#ifndef SYS_ipc
 	int r = __syscall(SYS_shmctl, id, cmd | IPC_64, buf);
 #else
 	int r = __syscall(SYS_ipc, IPCOP_shmctl, id, cmd | IPC_64, 0, buf, 0);