Explorar o código

fix the fsid_t structure to match name of __val

this is a case of poorly written man pages not matching the actual
implementation, and why i hate implementing nonstandard interfaces
with no actual documentation of how they're intended to work.
Rich Felker %!s(int64=13) %!d(string=hai) anos
pai
achega
32b82cf5cd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/sys/statfs.h

+ 1 - 1
include/sys/statfs.h

@@ -4,7 +4,7 @@
 #include <sys/statvfs.h>
 
 typedef struct {
-	int val[2];
+	int __val[2];
 } fsid_t;
 
 #include <bits/statfs.h>