Skip to contentSkip to conversation

[6482] target-sh4: Fix struct target_stat64 for 64-bit host

Qemu-devel Aurelien Jarno 1 participant 1 message Jan 30, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6482

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6482
Author:   aurel32
Date:     2009-01-30 19:48:24 +0000 (Fri, 30 Jan 2009)

Log Message:
-----------
target-sh4: Fix struct target_stat64 for 64-bit host

Modified Paths:
--------------
trunk/linux-user/syscall_defs.h

Modified: trunk/linux-user/syscall_defs.h
===================================================================

linux-user/syscall_defs.h +1 -1
@@ -1475,7 +1475,7 @@
 /* This matches struct stat64 in glibc2.1, hence the absolutely
  * insane amounts of padding around dev_t's.
  */
-struct target_stat64 {
+struct __attribute__((__packed__)) target_stat64 {
 	unsigned long long	st_dev;
 	unsigned char	__pad0[4];