From b176920bb7364d4fbe4970a7f5ab52b753ee11c6 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 18 Jan 2016 21:53:54 +0000 Subject: [PATCH] quotactl: fix Q_QUOTAON command decoding * quota.c (SYS_FUNC(quotactl)): Print Q_QUOTAON 4th argument as a path. --- quota.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/quota.c b/quota.c index 3255a89c..8ded370f 100644 --- a/quota.c +++ b/quota.c @@ -410,10 +410,12 @@ SYS_FUNC(quotactl) printpath(tcp, tcp->u_arg[1]); tprints(", "); switch (cmd) { - case Q_V1_QUOTAON: case Q_QUOTAON: + case Q_V1_QUOTAON: printxval(quota_formats, id, "QFMT_VFS_???"); - break; + tprints(", "); + printpath(tcp, tcp->u_arg[3]); + return RVAL_DECODED; case Q_SETQLIM: case Q_SETQUOTA: case Q_V1_SETQUOTA: -- 2.40.0