about summary refs log tree commit diff
path: root/src/ipc/msgget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/msgget.c')
-rw-r--r--src/ipc/msgget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/msgget.c b/src/ipc/msgget.c
index 9d79fe76..9dfbc4ea 100644
--- a/src/ipc/msgget.c
+++ b/src/ipc/msgget.c
@@ -4,7 +4,7 @@
 
 int msgget(key_t k, int flag)
 {
-#ifdef __NR_msgget
+#ifdef SYS_msgget
 	return syscall(SYS_msgget, k, flag);
 #else
 	return syscall(SYS_ipc, IPCOP_msgget, k, flag);