From: Eugene Syromyatnikov Date: Wed, 21 Sep 2016 03:10:46 +0000 (+0300) Subject: quota: display quota subcommand as a macro X-Git-Tag: v4.14~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cda3e082316aeb2ecc7474d2a63e38218c17d46;p=strace 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. --- diff --git a/quota.c b/quota.c index 0a388b2a..9f18c0df 100644 --- a/quota.c +++ b/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) {