diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-01-24 14:03:34 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-01-24 14:03:34 +0000 |
| commit | ad7b0448028cd6cfb28670d37a1f8ac78f156b61 (patch) | |
| tree | 7d363fe467dfd37b003fc0eecebc384130a3ad56 /usr.bin | |
| parent | 7ed5e5456738d655de68e5951f3d630905e37a53 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/systat/pigs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c index 1086920ae40a..03a9e94513fd 100644 --- a/usr.bin/systat/pigs.c +++ b/usr.bin/systat/pigs.c @@ -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 / |
