diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
| commit | 7799f52a32f592a7efe259bc3411ba52d13db797 (patch) | |
| tree | 350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/w | |
| parent | 5ebc7e6281887681c3a348a5a4c902e262ccd656 (diff) | |
Notes
Diffstat (limited to 'usr.bin/w')
| -rw-r--r-- | usr.bin/w/pr_time.c | 2 | ||||
| -rw-r--r-- | usr.bin/w/w.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/w/pr_time.c b/usr.bin/w/pr_time.c index 73e44faeae93..91410eeb1abf 100644 --- a/usr.bin/w/pr_time.c +++ b/usr.bin/w/pr_time.c @@ -46,7 +46,7 @@ static char sccsid[] = "@(#)pr_time.c 8.2 (Berkeley) 4/4/94"; /* * pr_attime -- - * Print the time since the user logged in. + * Print the time since the user logged in. * * Note: SCCS forces the bizarre string manipulation, things like * 8.2 get replaced in the source code. diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c index ea5d2ca2bbcd..b5075339c708 100644 --- a/usr.bin/w/w.c +++ b/usr.bin/w/w.c @@ -265,7 +265,7 @@ main(argc, argv) /* sort by idle time */ if (sortidle && ehead != NULL) { struct entry *from = ehead, *save; - + ehead = NULL; while (from != NULL) { for (nextp = &ehead; @@ -278,7 +278,7 @@ main(argc, argv) *nextp = save; } } - + if (!nflag) if (gethostname(domain, sizeof(domain) - 1) < 0 || (p = strchr(domain, '.')) == 0) |
