]> granicus.if.org Git - strace/commitdiff
AArch64: Fix printing of long long value
authorAndreas Schwab <schwab@suse.de>
Sat, 30 Mar 2013 21:31:56 +0000 (22:31 +0100)
committerAndreas Schwab <schwab@suse.de>
Sat, 30 Mar 2013 23:40:04 +0000 (00:40 +0100)
* util.c (printllval): Fix printing of long long values on
AArch64.

Signed-off-by: Andreas Schwab <schwab@suse.de>
util.c

diff --git a/util.c b/util.c
index fa552cc2cfeef27e0f71bca2c6563ec91307d401..a7661a59a3f026318495d6ff252d0b1c43f308ca 100644 (file)
--- 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