summaryrefslogtreecommitdiff
path: root/src/ipc/msgctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/msgctl.c')
-rw-r--r--src/ipc/msgctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/msgctl.c b/src/ipc/msgctl.c
index ea9b2337..868197f6 100644
--- a/src/ipc/msgctl.c
+++ b/src/ipc/msgctl.c
@@ -17,7 +17,7 @@ int msgctl(int q, int cmd, struct msqid_ds *buf)
buf = &tmp;
}
#endif
-#ifdef SYS_msgctl
+#ifndef SYS_ipc
int r = __syscall(SYS_msgctl, q, cmd | IPC_64, buf);
#else
int r = __syscall(SYS_ipc, IPCOP_msgctl, q, cmd | IPC_64, 0, buf, 0);