From 5a4fb1c2985bfb137761dbf79d1634a876c81119 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Tue, 11 Oct 2016 16:41:18 +0200 Subject: [PATCH] fixed a long-standing pair of typos in 'kern.pm' --- lib/kern.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kern.pm b/lib/kern.pm index cf62464..0250725 100644 --- a/lib/kern.pm +++ b/lib/kern.pm @@ -327,12 +327,12 @@ sub kern_update { $iow = 0 unless $iow; $irq = 0 unless $irq; $sirq = 0 unless $sirq; - $steal = 0 unless $sirq; + $steal = 0 unless $steal; $guest = 0 unless $guest; $lastiow = 0 unless $lastiow; $lastirq = 0 unless $lastirq; $lastsirq = 0 unless $lastsirq; - $laststeal = 0 unless $lastsirq; + $laststeal = 0 unless $laststeal; $lastguest = 0 unless $lastguest; if($user >= $lastuser && $nice >= $lastnice && $sys >= $lastsys && $idle >= $lastidle && $iow >= $lastiow && $irq >= $lastirq && $sirq >= $lastsirq && $steal >= $laststeal && $guest >= $lastguest) {