From 8a4ed7ef483bd6cc0390ad2cb852cb9d278ebec8 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 11 Nov 2007 17:22:48 +0000 Subject: printf format fixes git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3595 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/main.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'linux-user/main.c') diff --git a/linux-user/main.c b/linux-user/main.c index 4b53b90..eb28991 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -2043,17 +2043,17 @@ int main(int argc, char **argv) if (loglevel) { page_dump(logfile); - fprintf(logfile, "start_brk 0x" TARGET_FMT_lx "\n", info->start_brk); - fprintf(logfile, "end_code 0x" TARGET_FMT_lx "\n", info->end_code); - fprintf(logfile, "start_code 0x" TARGET_FMT_lx "\n", + fprintf(logfile, "start_brk 0x" TARGET_ABI_FMT_lx "\n", info->start_brk); + fprintf(logfile, "end_code 0x" TARGET_ABI_FMT_lx "\n", info->end_code); + fprintf(logfile, "start_code 0x" TARGET_ABI_FMT_lx "\n", info->start_code); - fprintf(logfile, "start_data 0x" TARGET_FMT_lx "\n", + fprintf(logfile, "start_data 0x" TARGET_ABI_FMT_lx "\n", info->start_data); - fprintf(logfile, "end_data 0x" TARGET_FMT_lx "\n", info->end_data); - fprintf(logfile, "start_stack 0x" TARGET_FMT_lx "\n", + fprintf(logfile, "end_data 0x" TARGET_ABI_FMT_lx "\n", info->end_data); + fprintf(logfile, "start_stack 0x" TARGET_ABI_FMT_lx "\n", info->start_stack); - fprintf(logfile, "brk 0x" TARGET_FMT_lx "\n", info->brk); - fprintf(logfile, "entry 0x" TARGET_FMT_lx "\n", info->entry); + fprintf(logfile, "brk 0x" TARGET_ABI_FMT_lx "\n", info->brk); + fprintf(logfile, "entry 0x" TARGET_ABI_FMT_lx "\n", info->entry); } target_set_brk(info->brk); -- cgit v1.1