summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-06-20 06:49:42 +0000
committerJim Meyering <jim@meyering.net>2004-06-20 06:49:42 +0000
commit837232227c7aeb9157bcb2e60c9b2074a1758af1 (patch)
tree5f1ed8a92d8f6daccaab92e83e8e7c9c797fd9fe /src
parent4614bf4a638a761f0244df4bde5d048b49c2d229 (diff)
downloadcoreutils-837232227c7aeb9157bcb2e60c9b2074a1758af1.tar.xz
(print_line): Don't truncate user names at 8 bytes.
Problem reported by Guido Leenders in: http://lists.gnu.org/archive/html/bug-coreutils/2004-06/msg00056.html
Diffstat (limited to 'src')
-rw-r--r--src/who.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/who.c b/src/who.c
index 0de01829f..554ae1656 100644
--- a/src/who.c
+++ b/src/who.c
@@ -272,7 +272,7 @@ print_line (const char *user, const char state, const char *line,
*x_exitstr = '\0';
err = asprintf (&buf,
- "%-8.8s"
+ "%-8s"
"%s"
" %-12s"
" %-12s"