summaryrefslogtreecommitdiff
path: root/src/ipc/shmat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/shmat.c')
-rw-r--r--src/ipc/shmat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/shmat.c b/src/ipc/shmat.c
index c6ee4007..38db92f9 100644
--- a/src/ipc/shmat.c
+++ b/src/ipc/shmat.c
@@ -2,7 +2,7 @@
#include "syscall.h"
#include "ipc.h"
-#ifdef __NR_shmat
+#ifdef SYS_shmat
void *shmat(int id, const void *addr, int flag)
{
return (void *)syscall(SYS_shmat, id, addr, flag);