consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix
[musl] / src / ipc / msgctl.c
index 7c84291..d50e395 100644 (file)
@@ -4,7 +4,7 @@
 
 int msgctl(int q, int cmd, struct msqid_ds *buf)
 {
-#ifdef __NR_msgctl
+#ifdef SYS_msgctl
        return syscall(SYS_msgctl, q, cmd, buf);
 #else
        return syscall(SYS_ipc, IPCOP_msgctl, q, cmd, buf);