Jelajahi Sumber

doh! We'll get this one right yet...

Eric Andersen 20 tahun lalu
induk
melakukan
e000cb429e
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      libc/sysdeps/linux/common/umount.c

+ 2 - 2
libc/sysdeps/linux/common/umount.c

@@ -20,9 +20,9 @@ _syscall1(int, umount, const char *, specialfile);
 #define __NR___syscall_umount2 __NR_umount2
 #define __NR___syscall_umount2 __NR_umount2
 static inline _syscall2(int, umount2, const char *, special_file, int, flags);
 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
 #else