mirror of https://git.musl-libc.org/git/musl
Browse Source
the omission of the padding was uncovered by the latest regression statvfs regression test added to libc-test.rs-1.0
1 changed files with 4 additions and 2 deletions
@ -1,7 +1,9 @@ |
|||||
struct statfs { |
struct statfs { |
||||
unsigned long f_type, f_bsize; |
unsigned long f_type, __pad0, f_bsize, __pad1; |
||||
fsblkcnt_t f_blocks, f_bfree, f_bavail; |
fsblkcnt_t f_blocks, f_bfree, f_bavail; |
||||
fsfilcnt_t f_files, f_ffree; |
fsfilcnt_t f_files, f_ffree; |
||||
fsid_t f_fsid; |
fsid_t f_fsid; |
||||
unsigned long f_namelen, f_frsize, f_flags, f_spare[4]; |
unsigned long f_namelen, __pad2, f_frsize, __pad3; |
||||
|
unsigned long f_flags, __pad4; |
||||
|
unsigned long long f_spare[4]; |
||||
}; |
}; |
||||
|
|||||
Loading…
Reference in new issue