diff options
author | José Bollo <jose.bollo@open.eurogiciel.org> | 2015-05-06 14:57:51 +0200 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-05-15 14:45:48 -0500 |
commit | f25d4954a786c9f564a5e30e5899c1adf2b6c655 (patch) | |
tree | 163255ab24ddac7ac0a5b50d7198910ca264ac58 /toys | |
parent | 20019be7c8667b70ff68692b24029aed2c857639 (diff) | |
download | toybox-f25d4954a786c9f564a5e30e5899c1adf2b6c655.tar.gz |
stat: fix group name
Change-Id: I0ad65a40bf380d789c4396ebdc01be217901a2e3
Diffstat (limited to 'toys')
-rw-r--r-- | toys/other/stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/stat.c b/toys/other/stat.c index a96c1def..d6db44dd 100644 --- a/toys/other/stat.c +++ b/toys/other/stat.c @@ -82,7 +82,7 @@ static void print_stat(char type) if (!stat->st_size && filetype == S_IFREG) t = "regular empty file"; xprintf("%s", t); } else if (type == 'g') xprintf("%lu", stat->st_gid); - else if (type == 'G') xprintf("%8s", TT.user_name->pw_name); + else if (type == 'G') xprintf("%8s", TT.group_name->gr_name); else if (type == 'h') xprintf("%lu", stat->st_nlink); else if (type == 'i') xprintf("%llu", stat->st_ino); else if (type == 'N') { |