about summary refs log tree commit diff
path: root/src/ipc/shmdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/shmdt.c')
-rw-r--r--src/ipc/shmdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/shmdt.c b/src/ipc/shmdt.c
index b4c9e69f..2e198b3e 100644
--- a/src/ipc/shmdt.c
+++ b/src/ipc/shmdt.c
@@ -4,7 +4,7 @@
 
 int shmdt(const void *addr)
 {
-#ifdef __NR_shmdt
+#ifdef SYS_shmdt
 	return syscall(SYS_shmdt, addr);
 #else
 	return syscall(SYS_ipc, IPCOP_shmdt, addr);