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 7c84291c..d50e395b 100644
--- a/src/ipc/msgctl.c
+++ b/src/ipc/msgctl.c
@@ -4,7 +4,7 @@
int msgctl(int q, int cmd, struct msqid_ds *buf)
{
-#ifdef __NR_msgctl
+#ifdef SYS_msgctl
return syscall(SYS_msgctl, q, cmd, buf);
#else
return syscall(SYS_ipc, IPCOP_msgctl, q, cmd, buf);