summaryrefslogtreecommitdiffstats
path: root/usr.bin/who/who.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-05-28 06:36:46 +0000
committertjr <tjr@FreeBSD.org>2002-05-28 06:36:46 +0000
commit8daf14c02acd1fc5f4c5505a035ef06876c26f8a (patch)
tree9dd4bfe2573fc9a296a4ce9a2c25df1d03dac6a0 /usr.bin/who/who.c
parent2f98561befa678ee1436e16d701ebd233d5a239e (diff)
downloadFreeBSD-src-8daf14c02acd1fc5f4c5505a035ef06876c26f8a.zip
FreeBSD-src-8daf14c02acd1fc5f4c5505a035ef06876c26f8a.tar.gz
Write "FROM" heading above the hostname column, like NetBSD and GNU do.
Diffstat (limited to 'usr.bin/who/who.c')
-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 6268095..ccb775b 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');
}
OpenPOWER on IntegriCloud