]> granicus.if.org Git - strace/commit
Print hexadecimal integer in error diagnostics using %#x
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 7 Jan 2017 16:44:44 +0000 (16:44 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 7 Jan 2017 16:44:44 +0000 (16:44 +0000)
commit600457fa9dd8d4769cb61559432a213212fedb87
tree3c121624f3850a3fd2ecd55348b689ef3cc7b544
parenta286680b04ca8568e8c79be129a8198c45fc8b0b
Print hexadecimal integer in error diagnostics using %#x

The formerly used format string %x led to misleading output as there was
no clear indication sometimes whether the printed integer was decimal or
hexadecimal.

* aio.c (startup_child, test_ptrace_seize): Print status
using %#x format specifier instead of %x.
strace.c