aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-10-06 10:07:07 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-10-06 10:07:07 +0000
commit516e0a12c2fc58e45c97093351d317161d794e23 (patch)
tree8e064d1cce4a33fe7c725c2af6dc7885e58bc429 /usr.bin
parenta3374a9920a6fac9c328ee4650807e8587f4e1dd (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/w/w.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index e7cafcaacb7b1..664d56f8f6402 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -225,7 +225,7 @@ main(argc, argv)
if (wcmd == 0)
exit (0);
-#define HEADER "USER TTY FROM LOGIN@ IDLE WHAT\n"
+#define HEADER "USER TTY FROM LOGIN@ IDLE WHAT\n"
#define WUSED (sizeof (HEADER) - sizeof ("WHAT\n"))
(void)printf(HEADER);
}
@@ -318,7 +318,7 @@ main(argc, argv)
ep->utmp.ut_host + UT_HOSTSIZE - x, x);
p = buf;
}
- (void)printf("%-*.*s %-2.2s %-*.*s ",
+ (void)printf("%-*.*s %-3.3s %-*.*s ",
UT_NAMESIZE, UT_NAMESIZE, ep->utmp.ut_name,
strncmp(ep->utmp.ut_line, "tty", 3) &&
strncmp(ep->utmp.ut_line, "cua", 3) ?