From: Denys Vlasenko Date: Tue, 26 Oct 2010 10:42:53 +0000 (+0200) Subject: powertop: IPIs and hw irqs were swapped, fixing X-Git-Tag: 1_18_0~69 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d8b687f99257772f62edd7c4641427280841e1c5;p=oweals%2Fbusybox.git powertop: IPIs and hw irqs were swapped, fixing Signed-off-by: Denys Vlasenko --- diff --git a/procps/powertop.c b/procps/powertop.c index 5792048dc..3d98b9bda 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, " : %s", name); else sprintf(irq_desc, " : %s", name);