aboutsummaryrefslogtreecommitdiff
path: root/darwin-user/commpage.c
diff options
context:
space:
mode:
Diffstat (limited to 'darwin-user/commpage.c')
-rw-r--r--darwin-user/commpage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin-user/commpage.c b/darwin-user/commpage.c
index 2b41bc5e3a..f6aa71e058 100644
--- a/darwin-user/commpage.c
+++ b/darwin-user/commpage.c
@@ -237,7 +237,7 @@ void do_compare_and_swap64(void *cpu_env, int num)
uint64_t *value = (uint64_t*)((CPUX86State*)cpu_env)->regs[R_ESI];
old = (uint64_t)((uint64_t)((CPUX86State*)cpu_env)->regs[R_EDX]) << 32 | (uint64_t)((CPUX86State*)cpu_env)->regs[R_EAX];
- DPRINTF("commpage: compare_and_swap64(%llx,new,%p)\n", old, value);
+ DPRINTF("commpage: compare_and_swap64(%" PRIx64 ",new,%p)\n", old, value);
swapped_val = tswap64(*value);
if(old == swapped_val)