]> granicus.if.org Git - strace/commit
sg_io_v3: print status fields using %#x format specifier
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 8 Jan 2017 15:43:40 +0000 (15:43 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 8 Jan 2017 15:51:59 +0000 (15:51 +0000)
commite2570826430de471944a38d8a3c3a708669d03af
tree936450b1f258589722e43b8e3959acda769ab64b
parent90bcf1006135a49490d40e6e5b4a149effd23304
sg_io_v3: print status fields using %#x format specifier

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

* sg_io_v3.c (decode_response): Print status and masked_status fields
using %#x format specifier instead of %02x.
sg_io_v3.c