diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 17:55:50 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 17:55:50 +0000 |
commit | 29fa23e76dfa4e57fc451fbf4dde454494044e8b (patch) | |
tree | 7e78071fd5bdeb13d7a88e6874061eda6d18551d /linux-user/strace.c | |
parent | f26ae302648d2977ba36d3dfcd0b70dce4e51060 (diff) | |
download | qemu-29fa23e76dfa4e57fc451fbf4dde454494044e8b.tar.gz qemu-29fa23e76dfa4e57fc451fbf4dde454494044e8b.tar.bz2 qemu-29fa23e76dfa4e57fc451fbf4dde454494044e8b.zip |
hex numbers must have a leading 0x
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3603 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/strace.c')
-rw-r--r-- | linux-user/strace.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |