diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-30 19:48:32 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-30 19:48:32 +0000 |
commit | e1ce5e400a08b62100249d9a4f1cc26414c8675e (patch) | |
tree | 3be0de729e4e202ef45ff90c30021e5a08d7720c /linux-user/syscall_defs.h | |
parent | 91bd8ce9b10123c81962614f3df1b713e665c3e2 (diff) | |
download | qemu-e1ce5e400a08b62100249d9a4f1cc26414c8675e.tar.gz qemu-e1ce5e400a08b62100249d9a4f1cc26414c8675e.tar.bz2 qemu-e1ce5e400a08b62100249d9a4f1cc26414c8675e.zip |
target-ppc: Fix struct target_stat64 for 32-bit host
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6483 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r-- | linux-user/syscall_defs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index ba9ef8d572..7db7a8c1f8 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -1141,7 +1141,7 @@ struct target_stat { #endif }; -struct target_stat64 { +struct __attribute__((__packed__)) target_stat64 { unsigned long long st_dev; unsigned long long st_ino; unsigned int st_mode; @@ -1149,10 +1149,11 @@ struct target_stat64 { unsigned int st_uid; unsigned int st_gid; unsigned long long st_rdev; - unsigned short pad0; + unsigned long long __pad0; long long st_size; int st_blksize; long long st_blocks; /* Number 512-byte blocks allocated. */ + unsigned int __pad1; int target_st_atime; unsigned int target_st_atime_nsec; int target_st_mtime; |