summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--linux/LinuxProcess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/LinuxProcess.c b/linux/LinuxProcess.c
index 690e91bf..afb3a7fb 100644
--- a/linux/LinuxProcess.c
+++ b/linux/LinuxProcess.c
@@ -352,7 +352,7 @@ void LinuxProcess_writeField(Process* this, RichString* str, ProcessField field)
} else if (klass == IOPRIO_CLASS_RT) {
attr = CRT_colors[PROCESS_HIGH_PRIORITY];
snprintf(buffer, n, "R%1d ", IOPriority_data(lp->ioPriority));
- } else if (lp->ioPriority == IOPriority_Idle) {
+ } else if (klass == IOPRIO_CLASS_IDLE) {
attr = CRT_colors[PROCESS_LOW_PRIORITY];
snprintf(buffer, n, "id ");
} else {