Skip to content

Commit

Permalink
MFC r335937:
Browse files Browse the repository at this point in the history
top: do not fall to the thread name if kernel cache of the process
args is empty.
  • Loading branch information
kostikbel committed Jul 11, 2018
1 parent bbc39de commit 29b48ac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion usr.bin/top/machine.c
Expand Up @@ -1037,7 +1037,6 @@ format_next_process(caddr_t handle, char *(*get_userid)(int), int flags)
}
} else {
if (pp->ki_flag & P_SYSTEM ||
pp->ki_args == NULL ||
(args = kvm_getargv(kd, pp, cmdlen)) == NULL ||
!(*args)) {
if (ps.thread && pp->ki_flag & P_HADTHREADS &&
Expand Down

0 comments on commit 29b48ac

Please sign in to comment.