From: Jim Meyering Date: Sun, 20 Jun 2004 06:49:42 +0000 (+0000) Subject: (print_line): Don't truncate user names at 8 bytes. X-Git-Tag: v5.3.0~1307 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=837232227c7aeb9157bcb2e60c9b2074a1758af1;p=thirdparty%2Fcoreutils.git (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 --- diff --git a/src/who.c b/src/who.c index 0de01829fa..554ae16569 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"