summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/umount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/umount.c b/libc/sysdeps/linux/common/umount.c
index b5767a706..d8e890d8b 100644
--- a/libc/sysdeps/linux/common/umount.c
+++ b/libc/sysdeps/linux/common/umount.c
@@ -20,9 +20,9 @@ _syscall1(int, umount, const char *, specialfile);
#define __NR___syscall_umount2 __NR_umount2
static inline _syscall2(int, umount2, const char *, special_file, int, flags);
-int umount(const char *special_file, int flags)
+int umount(const char *special_file)
{
- return (__syscall_umount2(special_file, flags));
+ return (__syscall_umount2(special_file, 0));
}
#else