Commit 29fa23e76dfa4e57fc451fbf4dde454494044e8b

Authored by bellard
1 parent f26ae302

hex numbers must have a leading 0x


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3603 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 3 deletions
linux-user/strace.c
... ... @@ -224,7 +224,7 @@ print_syscall_ret_addr(struct syscallname *name, abi_long ret)
224 224 if( ret == -1 ) {
225 225 gemu_log(" = -1 errno=%d (%s)\n", errno, target_strerror(errno));
226 226 } else {
227   - gemu_log(" = " TARGET_ABI_FMT_lx "\n", ret);
  227 + gemu_log(" = 0x" TARGET_ABI_FMT_lx "\n", ret);
228 228 }
229 229 }
230 230  
... ... @@ -232,7 +232,7 @@ if( ret == -1 ) {
232 232 static void
233 233 print_syscall_ret_raw(struct syscallname *name, abi_long ret)
234 234 {
235   - gemu_log(" = " TARGET_ABI_FMT_lx "\n", ret);
  235 + gemu_log(" = 0x" TARGET_ABI_FMT_lx "\n", ret);
236 236 }
237 237 #endif
238 238  
... ... @@ -240,7 +240,7 @@ print_syscall_ret_raw(struct syscallname *name, abi_long ret)
240 240 static void
241 241 print_syscall_ret_newselect(struct syscallname *name, abi_long ret)
242 242 {
243   - gemu_log(" = " TARGET_ABI_FMT_lx " (", ret);
  243 + gemu_log(" = 0x" TARGET_ABI_FMT_lx " (", ret);
244 244 print_fdset(newselect_arg1,newselect_arg2);
245 245 gemu_log(",");
246 246 print_fdset(newselect_arg1,newselect_arg3);
... ...