From: Dmitry V. Levin Date: Mon, 16 May 2016 23:36:14 +0000 (+0000) Subject: Fix printing of invalid arguments of term ioctls X-Git-Tag: v4.12~126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b8ca23cc0fcfe7944df5336b97ccf6a9d391ff4;p=strace Fix printing of invalid arguments of term ioctls * term.c (term_ioctl): Print arguments of TCXONC and TCFLSH ioctls using printxval_long. --- diff --git a/term.c b/term.c index c913a468..530ffc4c 100644 --- a/term.c +++ b/term.c @@ -222,11 +222,11 @@ term_ioctl(struct tcb *tcp, const unsigned int code, const long arg) /* ioctls with a direct decodable arg */ case TCXONC: tprints(", "); - printxval(tcxonc_options, arg, "TC???"); + printxval_long(tcxonc_options, arg, "TC???"); break; case TCFLSH: tprints(", "); - printxval(tcflsh_options, arg, "TC???"); + printxval_long(tcflsh_options, arg, "TC???"); break; case TCSBRK: case TCSBRKP: