summaryrefslogtreecommitdiff
path: root/libps
diff options
context:
space:
mode:
Diffstat (limited to 'libps')
-rw-r--r--libps/procstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libps/procstat.c b/libps/procstat.c
index 845db6c0..e688fa47 100644
--- a/libps/procstat.c
+++ b/libps/procstat.c
@@ -68,9 +68,9 @@ thread_state (thread_basic_info_t bi)
break;
}
- if (bi->base_priority < 12)
+ if (bi->base_priority < 25)
state |= PSTAT_STATE_T_NASTY;
- else if (bi->base_priority > 12)
+ else if (bi->base_priority > 25)
state |= PSTAT_STATE_T_NICE;
return state;