From c295f38b62b37923b9774ea461ee26796bf279c8 Mon Sep 17 00:00:00 2001 From: Jeremie Courreges-Anglas Date: Thu, 27 Jul 2017 14:17:35 +0000 Subject: kp can be NULL (eg, stale utmp entry), so adjust the comment. Prompted by another diff from Klemens Nanni --- usr.bin/w/w.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') 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) -- cgit v1.2.3