fix the definition of struct statvfs to match lsb abi
[musl] / arch / i386 / bits / statfs.h
index 9dda440..f103f4e 100644 (file)
@@ -1,16 +1,7 @@
-struct statvfs {
-       unsigned long f_type;
-       unsigned long f_bsize;
-       fsblkcnt_t f_blocks;
-       fsblkcnt_t f_bfree;
-       fsblkcnt_t f_bavail;
-       fsfilcnt_t f_files;
-       fsfilcnt_t f_ffree;
-       unsigned long f_fsid;
-       unsigned long __unused;
-       unsigned long f_namemax;
-       unsigned long f_frsize;
-       fsfilcnt_t f_favail;
-       unsigned long f_flag;
-       unsigned long __reserved[2];
+struct statfs {
+       unsigned long f_type, f_bsize;
+       fsblkcnt_t f_blocks, f_bfree, f_bavail;
+       fsfilcnt_t f_files, f_ffree;
+       fsid_t f_fsid;
+       unsigned long f_namelen, f_frsize, f_flags, f_spare[4];
 };