summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-19 23:35:48 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-19 23:35:48 -0400
commit114c80f1416617399c85c2df09dd307532399903 (patch)
tree5168ccc178e9b854385fa23caab3e055ea7a555c /arch/i386
parent8c07f6eac843c2acb217083d48c4cef95f2b891c (diff)
downloadmusl-114c80f1416617399c85c2df09dd307532399903.tar.gz
musl-114c80f1416617399c85c2df09dd307532399903.tar.bz2
musl-114c80f1416617399c85c2df09dd307532399903.tar.xz
musl-114c80f1416617399c85c2df09dd307532399903.zip
fix the definition of struct statvfs to match lsb abi
at the same time, make struct statfs match the traditional definition and make it more useful, especially the fsid_t stuff.
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/bits/statfs.h21
1 files changed, 6 insertions, 15 deletions
diff --git a/arch/i386/bits/statfs.h b/arch/i386/bits/statfs.h
index 9dda4400..f103f4e4 100644
--- a/arch/i386/bits/statfs.h
+++ b/arch/i386/bits/statfs.h
@@ -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];
};