aboutsummaryrefslogtreecommitdiffstats
path: root/linux-user/mmap.c
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-14 14:11:05 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-14 14:11:05 +0000
commit2e0ded9c7c647c9587f0c16a968dc8be0b3840de (patch)
tree1166848f3b33b593700a2f9133152957c883fcea /linux-user/mmap.c
parent9248f4133f6f3d3a3e059fa07bf98f05748ecd08 (diff)
Use TARGET_FMT_lx.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4061 c046a42c-6fe2-441c-8c8c-71466251a162
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 6292826b4..d459c61b2 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);
}
-