diff --git a/src/linux/umount.c b/src/linux/umount.c index c35f994d..f709b33a 100644 --- a/src/linux/umount.c +++ b/src/linux/umount.c @@ -1,8 +1,7 @@ #include -#define SYSCALL_STANDALONE #include "syscall.h" int umount(const char *special) { - return syscall1(__NR_umount, (long)special); + return syscall2(__NR_umount2, (long)special, 0); }