summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--procps/powertop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/powertop.c b/procps/powertop.c
index 5792048..3d98b9b 100644
--- a/procps/powertop.c
+++ b/procps/powertop.c
@@ -376,7 +376,7 @@ static void process_irq_counts(void)
name = p;
strchrnul(name, '\n')[0] = '\0';
/* Save description of the interrupt */
- if (nr < 20000)
+ if (nr >= 20000)
sprintf(irq_desc, " <kernel IPI> : %s", name);
else
sprintf(irq_desc, " <interrupt> : %s", name);