about summary refs log tree commit diff
path: root/src/ipc/semget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/semget.c')
-rw-r--r--src/ipc/semget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/semget.c b/src/ipc/semget.c
index 530c75ff..5f110e3b 100644
--- a/src/ipc/semget.c
+++ b/src/ipc/semget.c
@@ -4,7 +4,7 @@
 
 int semget(key_t key, int n, int fl)
 {
-#ifdef __NR_semget
+#ifdef SYS_semget
 	return syscall(SYS_semget, key, n, fl);
 #else
 	return syscall(SYS_ipc, IPCOP_semget, key, n, fl);