about summary refs log tree commit diff
path: root/src/ipc/shmget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/shmget.c')
-rw-r--r--src/ipc/shmget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/shmget.c b/src/ipc/shmget.c
index 9b14f8d3..61fb11d9 100644
--- a/src/ipc/shmget.c
+++ b/src/ipc/shmget.c
@@ -4,7 +4,7 @@
 
 int shmget(key_t key, size_t size, int flag)
 {
-#ifdef __NR_shmget
+#ifdef SYS_shmget
 	return syscall(SYS_shmget, key, size, flag);
 #else
 	return syscall(SYS_ipc, IPCOP_shmget, key, size, flag);