Catch up to new proc flags.

This commit is contained in:
John Baldwin 2001-01-24 14:03:34 +00:00
parent 7ed5e54567
commit ad7b044802
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71588

View File

@ -202,7 +202,7 @@ fetchpigs()
pt[i].pt_kp = &kpp[i];
pctp = &pt[i].pt_pctcpu;
time = kpp[i].ki_swtime;
if (time == 0 || (kpp[i].ki_flag & P_INMEM) == 0)
if (time == 0 || (kpp[i].ki_sflag & PS_INMEM) == 0)
*pctp = 0;
else
*pctp = ((double) kpp[i].ki_pctcpu /