quotactl: fix Q_QUOTAON command decoding
* quota.c (SYS_FUNC(quotactl)): Print Q_QUOTAON 4th argument as a path.
diff --git a/quota.c b/quota.c
index 3255a89..8ded370 100644
--- a/quota.c
+++ b/quota.c
@@ -410,10 +410,12 @@
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: