From 29fa23e76dfa4e57fc451fbf4dde454494044e8b Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 11 Nov 2007 17:55:50 +0000 Subject: hex numbers must have a leading 0x git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3603 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/strace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux-user/strace.c') diff --git a/linux-user/strace.c b/linux-user/strace.c index 161ca4236b..6854efec61 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -224,7 +224,7 @@ print_syscall_ret_addr(struct syscallname *name, abi_long ret) if( ret == -1 ) { gemu_log(" = -1 errno=%d (%s)\n", errno, target_strerror(errno)); } else { - gemu_log(" = " TARGET_ABI_FMT_lx "\n", ret); + gemu_log(" = 0x" TARGET_ABI_FMT_lx "\n", ret); } } @@ -232,7 +232,7 @@ if( ret == -1 ) { static void print_syscall_ret_raw(struct syscallname *name, abi_long ret) { - gemu_log(" = " TARGET_ABI_FMT_lx "\n", ret); + gemu_log(" = 0x" TARGET_ABI_FMT_lx "\n", ret); } #endif @@ -240,7 +240,7 @@ print_syscall_ret_raw(struct syscallname *name, abi_long ret) static void print_syscall_ret_newselect(struct syscallname *name, abi_long ret) { - gemu_log(" = " TARGET_ABI_FMT_lx " (", ret); + gemu_log(" = 0x" TARGET_ABI_FMT_lx " (", ret); print_fdset(newselect_arg1,newselect_arg2); gemu_log(","); print_fdset(newselect_arg1,newselect_arg3); -- cgit v1.2.3