summaryrefslogtreecommitdiff
path: root/libps/procstat.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-05-23 17:25:21 +0000
committerThomas Bushnell <thomas@gnu.org>1997-05-23 17:25:21 +0000
commitfd39f5fb2724745dbe68710ac2ada35fa878426c (patch)
treebbad18c899f0b3b1b65227f8499a24055bfd420d /libps/procstat.c
parent36e59fa04c060732853c82aa0cd12f3418925a19 (diff)
fix typo
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;