summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b507533..685057d 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -217,11 +217,11 @@ main(argc, argv)
pr_header(&now, nusers);
if (wcmd == 0)
exit (0);
- }
#define HEADER "USER TTY FROM LOGIN@ IDLE WHAT\n"
#define WUSED (sizeof (HEADER) - sizeof ("WHAT\n"))
- (void)printf(HEADER);
+ (void)printf(HEADER);
+ }
if ((kp = kvm_getprocs(kd, KERN_PROC_ALL, 0, &nentries)) == NULL)
err(1, "%s", kvm_geterr(kd));
OpenPOWER on IntegriCloud