summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/umount.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-02-25 05:58:58 +0000
committerEric Andersen <andersen@codepoet.org>2005-02-25 05:58:58 +0000
commite000cb429e08b4e2d837bfce4bfffe1b08796cdf (patch)
tree7e56aecf368dba1bcdd12ceda67e86bf86adb801 /libc/sysdeps/linux/common/umount.c
parent08c9aafdbb65568c2547a29e0b20163a60cbba6a (diff)
doh! We'll get this one right yet...
Diffstat (limited to 'libc/sysdeps/linux/common/umount.c')
-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