]> granicus.if.org Git - strace/commit
ioprio: use sprintxval instead of xlookup and string/value printing
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 4 Apr 2018 12:19:50 +0000 (14:19 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 27 Apr 2018 00:56:25 +0000 (00:56 +0000)
commited799d5ecc8830800c95a27348cb652ea1dc115b
tree9f51a5cfedf2c882a9d2dd04decc0d4b83849a96
parent69b958656e22c8b3fdb4f4ea3e07a7b5cd608d3d
ioprio: use sprintxval instead of xlookup and string/value printing

In order to respect current xlat style.

* ioprio.c (sprint_ioprio): Use sprintxval for producing string
representation of ioprio class, use the produced string representation
in resulting xsprintf.
ioprio.c