mirror of
git://git.musl-libc.org/musl
synced 2024-12-27 01:02:12 +00:00
7673acd315
The mips statfs struct layout is different than on other archs, so the statfs, fstatfs, statvfs and fstatvfs APIs were broken on mips. Now the ordering is fixed, the types are kept consistent with other archs.
9 lines
207 B
C
9 lines
207 B
C
struct statfs {
|
|
unsigned long f_type, f_bsize, f_frsize;
|
|
fsblkcnt_t f_blocks, f_bfree;
|
|
fsfilcnt_t f_files, f_ffree;
|
|
fsblkcnt_t f_bavail;
|
|
fsid_t f_fsid;
|
|
unsigned long f_namelen, f_flags, f_spare[5];
|
|
};
|