From 9b8ca23cc0fcfe7944df5336b97ccf6a9d391ff4 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 16 May 2016 23:36:14 +0000 Subject: [PATCH] Fix printing of invalid arguments of term ioctls * term.c (term_ioctl): Print arguments of TCXONC and TCFLSH ioctls using printxval_long. --- term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.40.0