aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/libelf.h
diff options
context:
space:
mode:
Diffstat (limited to 'xen/include/xen/libelf.h')
-rw-r--r--xen/include/xen/libelf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/include/xen/libelf.h b/xen/include/xen/libelf.h
index 41fc513ad6..1da66f7b4b 100644
--- a/xen/include/xen/libelf.h
+++ b/xen/include/xen/libelf.h
@@ -76,14 +76,14 @@ typedef void elf_log_callback(struct elf_binary*, void *caller_data,
#ifdef __XEN__
# ifdef __i386__
typedef uint32_t elf_uintptr_t;
-# define ELF_PRPTRVAL PRIu32
+# define ELF_PRPTRVAL PRIx32
# else
typedef uint64_t elf_uintptr_t;
-# define ELF_PRPTRVAL PRIu64
+# define ELF_PRPTRVAL PRIx64
# endif
#else
typedef uintptr_t elf_uintptr_t;
-# define ELF_PRPTRVAL PRIuPTR
+# define ELF_PRPTRVAL PRIxPTR
#endif
typedef elf_uintptr_t elf_ptrval;