diff options
author | 2017-07-27 14:17:34 +0000 | |
---|---|---|
committer | 2017-07-27 14:17:34 +0000 | |
commit | 782e799d786aba7faa4aeeb46d9b9beff0f392d9 (patch) | |
tree | 16986d220685cb60bb4cf71fb3eae0b4e117edf9 | |
parent | Heed the non-repeaters of GetBulkRequests and make sure to set (diff) | |
download | wireguard-openbsd-782e799d786aba7faa4aeeb46d9b9beff0f392d9.tar.xz wireguard-openbsd-782e799d786aba7faa4aeeb46d9b9beff0f392d9.zip |
kp can be NULL (eg, stale utmp entry), so adjust the comment.
Prompted by another diff from Klemens Nanni
-rw-r--r-- | usr.bin/w/w.c | 4 |
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) |