summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/top/machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index 3e4073d..1671dcc 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -551,7 +551,7 @@ char *(*get_userid)();
hp->remaining--;
/* get the process's command name */
- if ((pp->ki_flag & P_INMEM) == 0) {
+ if ((pp->ki_sflag & PS_INMEM) == 0) {
/*
* Print swapped processes as <pname>
*/
OpenPOWER on IntegriCloud