From d50949d21c2b07daadc26c7302163dc6066d4a75 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 2 Mar 2015 21:34:02 +0000 Subject: [PATCH] aarch64, x32: fix decoding of compat personality statfs64/fstatfs64 * statfs.c (struct compat_statfs64) [AARCH64 || X32]: Apply the same attributes as on X86_64. --- statfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statfs.c b/statfs.c index 61012097..6f5e4d38 100644 --- a/statfs.c +++ b/statfs.c @@ -121,7 +121,7 @@ struct compat_statfs64 { uint32_t f_flags; uint32_t f_spare[4]; } -#if defined(X86_64) || defined(IA64) +#if defined AARCH64 || defined X86_64 || defined X32 || defined IA64 __attribute__ ((packed, aligned(4))) #endif ;