Commit 8a4ed7ef483bd6cc0390ad2cb852cb9d278ebec8
1 parent
0fe5ea89
printf format fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3595 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
8 additions
and
8 deletions
linux-user/main.c
| ... | ... | @@ -2043,17 +2043,17 @@ int main(int argc, char **argv) |
| 2043 | 2043 | if (loglevel) { |
| 2044 | 2044 | page_dump(logfile); |
| 2045 | 2045 | |
| 2046 | - fprintf(logfile, "start_brk 0x" TARGET_FMT_lx "\n", info->start_brk); | |
| 2047 | - fprintf(logfile, "end_code 0x" TARGET_FMT_lx "\n", info->end_code); | |
| 2048 | - fprintf(logfile, "start_code 0x" TARGET_FMT_lx "\n", | |
| 2046 | + fprintf(logfile, "start_brk 0x" TARGET_ABI_FMT_lx "\n", info->start_brk); | |
| 2047 | + fprintf(logfile, "end_code 0x" TARGET_ABI_FMT_lx "\n", info->end_code); | |
| 2048 | + fprintf(logfile, "start_code 0x" TARGET_ABI_FMT_lx "\n", | |
| 2049 | 2049 | info->start_code); |
| 2050 | - fprintf(logfile, "start_data 0x" TARGET_FMT_lx "\n", | |
| 2050 | + fprintf(logfile, "start_data 0x" TARGET_ABI_FMT_lx "\n", | |
| 2051 | 2051 | info->start_data); |
| 2052 | - fprintf(logfile, "end_data 0x" TARGET_FMT_lx "\n", info->end_data); | |
| 2053 | - fprintf(logfile, "start_stack 0x" TARGET_FMT_lx "\n", | |
| 2052 | + fprintf(logfile, "end_data 0x" TARGET_ABI_FMT_lx "\n", info->end_data); | |
| 2053 | + fprintf(logfile, "start_stack 0x" TARGET_ABI_FMT_lx "\n", | |
| 2054 | 2054 | info->start_stack); |
| 2055 | - fprintf(logfile, "brk 0x" TARGET_FMT_lx "\n", info->brk); | |
| 2056 | - fprintf(logfile, "entry 0x" TARGET_FMT_lx "\n", info->entry); | |
| 2055 | + fprintf(logfile, "brk 0x" TARGET_ABI_FMT_lx "\n", info->brk); | |
| 2056 | + fprintf(logfile, "entry 0x" TARGET_ABI_FMT_lx "\n", info->entry); | |
| 2057 | 2057 | } |
| 2058 | 2058 | |
| 2059 | 2059 | target_set_brk(info->brk); | ... | ... |