]> granicus.if.org Git - strace/commit
aio: print hexadecimal integer 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)
commita286680b04ca8568e8c79be129a8198c45fc8b0b
treebf9326c3667a46e9789ac40ad74f505fbfb34d68
parent601a324df2e825289801181f978367d754dd8f83
aio: print hexadecimal integer 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 (print_common_flags): Print struct iocb.aio_flags using %#x
format specifier instead of %x.
* tests/aio.c (main): Likewise.
aio.c
tests/aio.c