global cleanup to use the new syscall interface
[musl] / src / mman / mlockall.c
index 782fc9d..0ba4e66 100644 (file)
@@ -3,5 +3,5 @@
 
 int mlockall(int flags)
 {
-       return syscall1(__NR_mlockall, flags);
+       return syscall(SYS_mlockall, flags);
 }