projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6619317
)
x32: fix struct statfs
author
rofl0r
<retnyg@gmx.net>
Mon, 17 Mar 2014 21:34:52 +0000
(22:34 +0100)
committer
rofl0r
<retnyg@gmx.net>
Mon, 17 Mar 2014 21:34:55 +0000
(22:34 +0100)
the omission of the padding was uncovered by the latest regression
statvfs regression test added to libc-test.
arch/x32/bits/statfs.h
patch
|
blob
|
history
diff --git
a/arch/x32/bits/statfs.h
b/arch/x32/bits/statfs.h
index f103f4e4f4ef0cf545b49c192dee90f066ba3dab..79aec35d6118bf2c64f6966d3f2448f71b79863b 100644
(file)
--- 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];
};