aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/who
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-05-28 06:36:46 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-05-28 06:36:46 +0000
commit1a940138691416e63f73ef8ae5e61e9c5720a2a0 (patch)
tree9dd4bfe2573fc9a296a4ce9a2c25df1d03dac6a0 /usr.bin/who
parentb0405a2ad3b4f50d83a761baa7a9a232710127ec (diff)
Write "FROM" heading above the hostname column, like NetBSD and GNU do.
Notes
Notes: svn path=/head/; revision=97374
Diffstat (limited to 'usr.bin/who')
-rw-r--r--usr.bin/who/who.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/who/who.c b/usr.bin/who/who.c
index 6268095aa205..ccb775b65442 100644
--- a/usr.bin/who/who.c
+++ b/usr.bin/who/who.c
@@ -149,6 +149,7 @@ heading(void)
printf("%-*s ", 12, "TIME");
if (uflag)
printf("IDLE ");
+ printf("%-*s", UT_HOSTSIZE, "FROM");
putchar('\n');
}