Explorar el Código

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

Eric Andersen hace 21 años
padre
commit
e000cb429e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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
 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