remove dependency of memmove on memcpy direction
[musl] / src / linux / umount.c
index c35f994..fb9b5e7 100644 (file)
@@ -1,8 +1,7 @@
 #include <sys/mount.h>
-#define SYSCALL_STANDALONE
 #include "syscall.h"
 
 int umount(const char *special)
 {
-       return syscall1(__NR_umount, (long)special);
+       return syscall(SYS_umount2, special, 0);
 }