summaryrefslogtreecommitdiff
path: root/usr.bin/w
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-07-27 14:17:35 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-07-27 14:17:35 +0000
commitc295f38b62b37923b9774ea461ee26796bf279c8 (patch)
tree7dfb00c843cee352899d5fb8fc21d913f97e2707 /usr.bin/w
parentd3c9e5d100082faa2283b2f8e8d347d38f6463b4 (diff)
kp can be NULL (eg, stale utmp entry), so adjust the comment.
Prompted by another diff from Klemens Nanni
Diffstat (limited to 'usr.bin/w')
-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 ddb050e0afa..61cd8ea285a 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: w.c,v 1.62 2017/05/30 15:10:48 schwarze Exp $ */
+/* $OpenBSD: w.c,v 1.63 2017/07/27 14:17:34 jca Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@@ -384,7 +384,7 @@ pr_args(struct kinfo_proc *kp)
int left;
if (kp == NULL)
- goto nothing; /* XXX - can this happen? */
+ goto nothing; /* no matching process found */
left = argwidth;
argv = kvm_getargv(kd, kp, argwidth+60); /* +60 for ftpd snip */
if (argv == NULL)