[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] linux-user: Fix wrong use of stat instead of stat64
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH] linux-user: Fix wrong use of stat instead of stat64 for sparc64 |
Date: |
Fri, 6 Sep 2013 18:46:17 +0200 |
This test case is fixed now:
sparc64-linux-user/qemu-sparc64 /usr/gnemul/qemu-sparc64/busybox ls -l block.c
Signed-off-by: Stefan Weil <address@hidden>
---
linux-user/syscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index ecead51..e498a92 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -4764,7 +4764,7 @@ static inline abi_long host_to_target_stat64(void
*cpu_env,
} else
#endif
{
-#if TARGET_ABI_BITS == 64 && !defined(TARGET_ALPHA)
+#if TARGET_ABI_BITS == 64 && !defined(TARGET_ALPHA) && !defined(TARGET_SPARC64)
struct target_stat *target_st;
#else
struct target_stat64 *target_st;
--
1.7.10.4
- [Qemu-devel] [PATCH] linux-user: Fix wrong use of stat instead of stat64 for sparc64,
Stefan Weil <=