diff options
author | rofl0r <retnyg@gmx.net> | 2014-03-17 22:34:52 +0100 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2014-03-17 22:34:55 +0100 |
commit | 797f9a32a444fc1d4a7189a65d340c1e6588b0db (patch) | |
tree | 955ed54b4a1c77ab3aec142b9500523c0dcfefda /arch/x32/bits | |
parent | 66193171648ea34ad5acf08fcca48c8f0a850030 (diff) | |
download | musl-797f9a32a444fc1d4a7189a65d340c1e6588b0db.tar.gz musl-797f9a32a444fc1d4a7189a65d340c1e6588b0db.tar.bz2 musl-797f9a32a444fc1d4a7189a65d340c1e6588b0db.tar.xz musl-797f9a32a444fc1d4a7189a65d340c1e6588b0db.zip |
x32: fix struct statfs
the omission of the padding was uncovered by the latest regression
statvfs regression test added to libc-test.
Diffstat (limited to 'arch/x32/bits')
-rw-r--r-- | arch/x32/bits/statfs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x32/bits/statfs.h b/arch/x32/bits/statfs.h index f103f4e4..79aec35d 100644 --- a/arch/x32/bits/statfs.h +++ b/arch/x32/bits/statfs.h @@ -1,7 +1,9 @@ struct statfs { - unsigned long f_type, f_bsize; + unsigned long f_type, __pad0, f_bsize, __pad1; 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]; + unsigned long f_namelen, __pad2, f_frsize, __pad3; + unsigned long f_flags, __pad4; + unsigned long long f_spare[4]; }; |