Commit 2e0ded9c7c647c9587f0c16a968dc8be0b3840de
1 parent
9248f413
Use TARGET_FMT_lx.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4061 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
2 deletions
linux-user/mmap.c
| @@ -337,7 +337,7 @@ abi_long target_mmap(abi_ulong start, abi_ulong len, int prot, | @@ -337,7 +337,7 @@ abi_long target_mmap(abi_ulong start, abi_ulong len, int prot, | ||
| 337 | page_set_flags(start, start + len, prot | PAGE_VALID); | 337 | page_set_flags(start, start + len, prot | PAGE_VALID); |
| 338 | the_end: | 338 | the_end: |
| 339 | #ifdef DEBUG_MMAP | 339 | #ifdef DEBUG_MMAP |
| 340 | - printf("ret=0x%llx\n", start); | 340 | + printf("ret=0x" TARGET_FMT_lx "\n", start); |
| 341 | page_dump(stdout); | 341 | page_dump(stdout); |
| 342 | printf("\n"); | 342 | printf("\n"); |
| 343 | #endif | 343 | #endif |
| @@ -432,4 +432,3 @@ int target_msync(abi_ulong start, abi_ulong len, int flags) | @@ -432,4 +432,3 @@ int target_msync(abi_ulong start, abi_ulong len, int flags) | ||
| 432 | start &= qemu_host_page_mask; | 432 | start &= qemu_host_page_mask; |
| 433 | return msync(g2h(start), end - start, flags); | 433 | return msync(g2h(start), end - start, flags); |
| 434 | } | 434 | } |
| 435 | - |