diff options
Diffstat (limited to 'src/linux/umount.c')
-rw-r--r-- | src/linux/umount.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 <sys/mount.h> -#define SYSCALL_STANDALONE #include "syscall.h" int umount(const char *special) { - return syscall1(__NR_umount, (long)special); + return syscall2(__NR_umount2, (long)special, 0); } |