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.
This commit is contained in:
1 parent
03a8362930
commit
32b82cf5cd
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
||||
#include <sys/statvfs.h>
|
||||
|
||||
typedef struct {
|
||||
int val[2];
|
||||
int __val[2];
|
||||
} fsid_t;
|
||||
|
||||
#include <bits/statfs.h>
|
||||
|
||||
Reference in new issue
Block a user