xenctx: Correct FMT_??B_WORD for arm64.
authorIan Campbell <ian.campbell@citrix.com>
Thu, 3 Apr 2014 19:06:51 +0000 (15:06 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 4 Apr 2014 08:27:50 +0000 (09:27 +0100)
These should all be unsigned long long to match various variables used
in the code, same as x86_64.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Don Slutz <dslutz@verizon.com>
tools/xentrace/xenctx.c

index 7275a00eb8ed8d305f7af3efdd89b33012e3928d..47712abdf1fbec35702bc0d01bbe6916f5e13e4e 100644 (file)
@@ -57,8 +57,8 @@ typedef uint64_t guest_word_t;
 #elif defined(__aarch64__)
 #define NO_TRANSLATION
 typedef uint64_t guest_word_t;
-#define FMT_32B_WORD "%08lx"
-#define FMT_64B_WORD "%016lx"
+#define FMT_32B_WORD "%08llx"
+#define FMT_64B_WORD "%016llx"
 #endif
 
 struct symbol {