alias basename to glibc name for it, to meet abi goals
[musl] / src / linux / umount2.c
index cab93fd..25ad057 100644 (file)
@@ -1,8 +1,7 @@
 #include <sys/mount.h>
-#define SYSCALL_STANDALONE
 #include "syscall.h"
 
 int umount2(const char *special, int flags)
 {
-       return syscall2(__NR_umount2, (long)special, flags);
+       return syscall(SYS_umount2, special, flags);
 }