about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-20 11:16:27 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-20 11:16:27 -0400
commit32b82cf5cdc282839cc02c57a50c991e376f0348 (patch)
tree60880b6b192f1a4ae6f815263b1f3743e04dc4cd
parent03a8362930c3c4fe49ee6b9cb2ba9f28153b15d3 (diff)
downloadmusl-32b82cf5cdc282839cc02c57a50c991e376f0348.tar.gz
musl-32b82cf5cdc282839cc02c57a50c991e376f0348.tar.xz
musl-32b82cf5cdc282839cc02c57a50c991e376f0348.zip
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.
-rw-r--r--include/sys/statfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/statfs.h b/include/sys/statfs.h
index 51ef30a1..05c9b130 100644
--- a/include/sys/statfs.h
+++ b/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>