diff options
author | Rob Landley <rob@landley.net> | 2016-05-20 14:28:13 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-05-20 14:28:13 -0500 |
commit | b602f1c1513328fe91f70233c78d11d9e638982d (patch) | |
tree | dd0b209caa1d5027f56bccf2b8364cabbfa20570 /toys/posix/ps.c | |
parent | 9cfdb48722cba8bfaafee9de61411618d66365f3 (diff) | |
download | toybox-b602f1c1513328fe91f70233c78d11d9e638982d.tar.gz |
Add bufgetgrgid()
Diffstat (limited to 'toys/posix/ps.c')
-rw-r--r-- | toys/posix/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ps.c b/toys/posix/ps.c index 445228fd..301c1f36 100644 --- a/toys/posix/ps.c +++ b/toys/posix/ps.c @@ -449,7 +449,7 @@ static char *string_field(struct carveup *tb, struct strawberry *field) sprintf(out, "%lld", ll); if (sl&64) { if (which > PS_RUSER) { - struct group *gr = getgrgid(ll); + struct group *gr = bufgetgrgid(ll); if (gr) out = gr->gr_name; } else { |