From: Dmitry V. Levin Date: Mon, 16 May 2016 23:06:17 +0000 (+0000) Subject: Fix printing of invalid argument of MTDFILEMODE ioctl X-Git-Tag: v4.12~134 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=942da9c8951a22b1281ff7bb42272007a6a18f96;p=strace Fix printing of invalid argument of MTDFILEMODE ioctl * mtd.c (mtd_ioctl): Print 3rd argument of MTDFILEMODE ioctl using printflags_long. --- diff --git a/mtd.c b/mtd.c index 208858d3..56042533 100644 --- a/mtd.c +++ b/mtd.c @@ -177,7 +177,7 @@ mtd_ioctl(struct tcb *tcp, const unsigned int code, const long arg) case MTDFILEMODE: tprints(", "); - printxval(mtd_file_mode_options, arg, "MTD_FILE_MODE_???"); + printxval_long(mtd_file_mode_options, arg, "MTD_FILE_MODE_???"); break; case MEMGETBADBLOCK: