fix the fsid_t structure to match name of __val
authorRich Felker <dalias@aerifal.cx>
Tue, 20 Sep 2011 15:16:27 +0000 (11:16 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 20 Sep 2011 15:16:27 +0000 (11:16 -0400)
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.

include/sys/statfs.h

index 51ef30a1b5450206550ad7dc42080b6398d4f6a2..05c9b13049fd440992b94eca851fa12a99977c44 100644 (file)
@@ -4,7 +4,7 @@
 #include <sys/statvfs.h>
 
 typedef struct {
-       int val[2];
+       int __val[2];
 } fsid_t;
 
 #include <bits/statfs.h>