* quota.c (SYS_FUNC(quotactl)): since id call argument is used for
  user/group/project ID which all have special semantics for -1, it
  looks reasonable to print it the same way as UIDs are printed.
---
 quota.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/quota.c b/quota.c
index 9f18c0d..efef4ed 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]);
 }
-- 
1.7.10.4


------------------------------------------------------------------------------
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to