]> granicus.if.org Git - strace/commitdiff
sparc64: fix decoding of stat family syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 9 Aug 2016 09:14:11 +0000 (09:14 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 9 Aug 2016 09:14:11 +0000 (09:14 +0000)
This complements commit v4.13-28-gaebfe83.

* file.c [SPARC64]: Change STAT32_PERSONALITY to 1.

file.c

diff --git a/file.c b/file.c
index 3ea0b5da6165cc5c37a54c71cd5c5cb2b8f6dbe9..9ea127b74034da4a9788bdfc01f56fd252e06a0a 100644 (file)
--- a/file.c
+++ b/file.c
@@ -161,7 +161,7 @@ struct stat32 {
        unsigned int    st_blocks;
        unsigned int    __unused4[2];
 };
-#  define STAT32_PERSONALITY 0
+#  define STAT32_PERSONALITY 1
 # elif defined SPARC
 #  /* no 64-bit personalities */
 # elif defined TILE