Use proc name (ki_comm) instead of thread name (ki_ocomm) as these may now
be different.
This commit is contained in:
parent
58bffa15c2
commit
f487a6a811
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167810
@ -529,7 +529,7 @@ getprocname(pid_t pid)
|
||||
warn("sysctl()");
|
||||
return ("??");
|
||||
}
|
||||
return (proc.ki_ocomm);
|
||||
return (proc.ki_comm);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user