quota: display quota subcommand as a macro
* quota.c (SYS_FUNC(quotactl)): Replace disjunction of two xlat values (which also lacks shift of the left part) with QCMD macro call.
This commit is contained in:
parent
632cc8a697
commit
0cda3e0823
5
quota.c
5
quota.c
@ -520,10 +520,11 @@ SYS_FUNC(quotactl)
|
||||
uint32_t id = tcp->u_arg[2];
|
||||
|
||||
if (entering(tcp)) {
|
||||
tprints("QCMD(");
|
||||
printxval(quotacmds, cmd, "Q_???");
|
||||
tprints("|");
|
||||
printxval(quotatypes, type, "???QUOTA");
|
||||
tprints(", ");
|
||||
printxval(quotatypes, type, "???QUOTA");
|
||||
tprints("), ");
|
||||
printpath(tcp, tcp->u_arg[1]);
|
||||
tprints(", ");
|
||||
switch (cmd) {
|
||||
|
Loading…
Reference in New Issue
Block a user