From 942da9c8951a22b1281ff7bb42272007a6a18f96 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 16 May 2016 23:06:17 +0000 Subject: [PATCH] Fix printing of invalid argument of MTDFILEMODE ioctl * mtd.c (mtd_ioctl): Print 3rd argument of MTDFILEMODE ioctl using printflags_long. --- mtd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.50.1