Sfoglia il codice sorgente

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

Eric Andersen 20 anni fa
parent
commit
e000cb429e
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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