diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-24 14:03:34 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-24 14:03:34 +0000 |
commit | 94c9f37b862784c64ac8d5b1f19e4ea7c5d09f5d (patch) | |
tree | 2fb5f0cd714abc2fb20e337600df3163503db74c /usr.bin/systat | |
parent | c67fcdf02bc758360ebc64598fb496cea7b3580e (diff) | |
download | FreeBSD-src-94c9f37b862784c64ac8d5b1f19e4ea7c5d09f5d.zip FreeBSD-src-94c9f37b862784c64ac8d5b1f19e4ea7c5d09f5d.tar.gz |
Catch up to new proc flags.
Diffstat (limited to 'usr.bin/systat')
-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 1086920..03a9e94 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 / |