about summary refs log tree commit diff
path: root/src/ipc/msgsnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/msgsnd.c')
-rw-r--r--src/ipc/msgsnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/msgsnd.c b/src/ipc/msgsnd.c
index 26057f2e..1e0b2fa5 100644
--- a/src/ipc/msgsnd.c
+++ b/src/ipc/msgsnd.c
@@ -7,7 +7,7 @@ int msgsnd(int q, const void *m, size_t len, int flag)
 {
 	ssize_t r;
 	CANCELPT_BEGIN;
-#ifdef __NR_msgsnd
+#ifdef SYS_msgsnd
 	r = syscall(SYS_msgsnd, q, m, len, flag);
 #else
 	r = syscall(SYS_ipc, IPCOP_msgsnd, q, len, flag, m);