From e000cb429e08b4e2d837bfce4bfffe1b08796cdf Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 25 Feb 2005 05:58:58 +0000 Subject: doh! We'll get this one right yet... --- libc/sysdeps/linux/common/umount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc') 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 -- cgit v1.2.3