summaryrefslogtreecommitdiff
path: root/libps/procstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libps/procstat.c')
-rw-r--r--libps/procstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libps/procstat.c b/libps/procstat.c
index 61371d34..6b1c38cf 100644
--- a/libps/procstat.c
+++ b/libps/procstat.c
@@ -366,7 +366,7 @@ summarize_thread_basic_info (struct procinfo *pi)
for (i = 0; i < pi->nthreads; i++)
if (! pi->threadinfos[i].died
- && ! (pi->threadinfos[i].pis_bi & TH_FLAGS_IDLE))
+ && ! (pi->threadinfos[i].pis_bi.flags & TH_FLAGS_IDLE))
{
thread_basic_info_t bi = &pi->threadinfos[i].pis_bi;
int thread_run_state = bi->run_state;