global cleanup to use the new syscall interface
[musl] / src / linux / umount2.c
index ff0803c..25ad057 100644 (file)
@@ -3,5 +3,5 @@
 
 int umount2(const char *special, int flags)
 {
-       return syscall2(__NR_umount2, (long)special, flags);
+       return syscall(SYS_umount2, special, flags);
 }