svn commit: r285550 - head/usr.bin/w

Mark Murray markm at FreeBSD.org
Tue Jul 14 18:53:26 UTC 2015


Author: markm
Date: Tue Jul 14 18:53:24 2015
New Revision: 285550
URL: https://svnweb.freebsd.org/changeset/base/285550

Log:
  Widen the host field so that a full IPv6 address will be seen.

Modified:
  head/usr.bin/w/w.c

Modified: head/usr.bin/w/w.c
==============================================================================
--- head/usr.bin/w/w.c	Tue Jul 14 18:45:15 2015	(r285549)
+++ head/usr.bin/w/w.c	Tue Jul 14 18:53:24 2015	(r285550)
@@ -120,7 +120,7 @@ static struct entry {
 
 #define	W_DISPUSERSIZE	10
 #define	W_DISPLINESIZE	8
-#define	W_DISPHOSTSIZE	24
+#define	W_DISPHOSTSIZE	40
 
 static void		 pr_header(time_t *, int);
 static struct stat	*ttystat(char *);


More information about the svn-src-all mailing list