From: Eugene Syromyatnikov Date: Wed, 21 Sep 2016 03:10:57 +0000 (+0300) Subject: quota: use printuid for id parameter printing X-Git-Tag: v4.14~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e87379b820851599dbb316a353ee993dfee2dfbc;p=strace quota: use printuid for id parameter printing * quota.c (SYS_FUNC(quotactl)): Since id call argument is used for user/group/project ID which all have special semantics for -1, print it the same way as UIDs are printed. --- diff --git a/quota.c b/quota.c index 9f18c0df..efef4edd 100644 --- a/quota.c +++ b/quota.c @@ -535,7 +535,8 @@ SYS_FUNC(quotactl) printpath(tcp, tcp->u_arg[3]); return RVAL_DECODED; } - tprintf("%u, ", id); + printuid("", id); + tprints(", "); } return decode_cmd_data(tcp, cmd, tcp->u_arg[3]); }