consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix
[musl] / src / ipc / shmat.c
index c6ee400..38db92f 100644 (file)
@@ -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);