[BACK]Return to utils.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / top

Diff for /src/usr.bin/top/utils.c between version 1.22 and 1.23

version 1.22, 2010/01/29 00:36:09 version 1.23, 2011/04/10 03:20:59
Line 341 
Line 341 
 int  int
 find_pid(pid_t pid)  find_pid(pid_t pid)
 {  {
         struct kinfo_proc2 *pbase, *cur;          struct kinfo_proc *pbase, *cur;
         int nproc;          int nproc;
   
         if ((pbase = getprocs(KERN_PROC_KTHREAD, 0, &nproc)) == NULL)          if ((pbase = getprocs(KERN_PROC_KTHREAD, 0, &nproc)) == NULL)

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23