* util.c (printllval): Fix printing of long long values on
AArch64.

Signed-off-by: Andreas Schwab <[email protected]>
---
 util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.c b/util.c
index fa552cc..d4314ab 100644
--- a/util.c
+++ b/util.c
@@ -185,7 +185,7 @@ printxval(const struct xlat *xlat, int val, const char 
*dflt)
 int
 printllval(struct tcb *tcp, const char *format, int arg_no)
 {
-#if defined(X86_64) || defined(POWERPC64) || defined(TILE)
+#if defined(X86_64) || defined(POWERPC64) || defined(TILE) || defined (AARCH64)
        if (current_personality == 0) {
                /* Technically, format expects "long long",
                 * but we supply "long". We expect that
-- 
1.8.2

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to