Use proc name (ki_comm) instead of thread name (ki_ocomm) as these may now

be different.
This commit is contained in:
Ed Maste 2007-03-22 17:47:58 +00:00
parent 58bffa15c2
commit f487a6a811
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167810

View File

@ -529,7 +529,7 @@ getprocname(pid_t pid)
warn("sysctl()");
return ("??");
}
return (proc.ki_ocomm);
return (proc.ki_comm);
}
static int