diff options
author | Mischa Jonker <Mischa.Jonker@synopsys.com> | 2013-07-23 18:32:07 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-07-26 09:45:34 +0200 |
commit | cee1028b642c0e6e3ff314dea71c9fb0015c22c1 (patch) | |
tree | 39a13eac609f3b6f288d9dc567e509c2364109c5 /libc/sysdeps/linux/common-generic/bits/stat.h | |
parent | 7e509aae23665b9a79f6c9b4c24d1d8a55bd3582 (diff) |
libc/sysdeps: Fix common-generic stat.h for BE part 2
Previous patch only fixed the build. This patch fixes the behavior at
run-time as well.
It fixes "Value too large for defined data type" messages caused by
fstat syscall wrapper returning -EOVERFLOW.
Signed-off-by: Mischa Jonker <Mischa.Jonker@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common-generic/bits/stat.h')
-rw-r--r-- | libc/sysdeps/linux/common-generic/bits/stat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common-generic/bits/stat.h b/libc/sysdeps/linux/common-generic/bits/stat.h index 07716abe4..945c408a0 100644 --- a/libc/sysdeps/linux/common-generic/bits/stat.h +++ b/libc/sysdeps/linux/common-generic/bits/stat.h @@ -63,8 +63,8 @@ struct stat unsigned long long __pad4; long __pad5; long st_size; /* Size of file, in bytes. */ - int __pad6; int st_blksize; /* Optimal block size for I/O. */ + int __pad6; long __pad7; long st_blocks; /* Number 512-byte blocks allocated */ # endif /* __LITTLE_ENDIAN */ |