aboutsummaryrefslogtreecommitdiff
path: root/linux-user/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/mmap.c')
-rw-r--r--linux-user/mmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux-user/mmap.c b/linux-user/mmap.c
index 6292826b43..d459c61b29 100644
--- a/linux-user/mmap.c
+++ b/linux-user/mmap.c
@@ -337,7 +337,7 @@ abi_long target_mmap(abi_ulong start, abi_ulong len, int prot,
page_set_flags(start, start + len, prot | PAGE_VALID);
the_end:
#ifdef DEBUG_MMAP
- printf("ret=0x%llx\n", start);
+ printf("ret=0x" TARGET_FMT_lx "\n", start);
page_dump(stdout);
printf("\n");
#endif
@@ -432,4 +432,3 @@ int target_msync(abi_ulong start, abi_ulong len, int flags)
start &= qemu_host_page_mask;
return msync(g2h(start), end - start, flags);
}
-