From dfd536e8137e9a7566a21075c9a5a5bccb6d4207 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Tue, 14 May 2013 18:22:55 +0200 Subject: [PATCH] Fixed a bug that prevented seeing the Core temperatures in the 'lmsens' graph --- lib/lmsens.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lmsens.pm b/lib/lmsens.pm index f10b1a8..ba3ecf5 100644 --- a/lib/lmsens.pm +++ b/lib/lmsens.pm @@ -528,7 +528,7 @@ sub lmsens_cgi { } for($n = 0; $n < 4; $n++) { for($n2 = $n; $n2 < 16; $n2 += 4) { - $str = "core_" . $n2; + $str = "core" . $n2; if($lmsens->{list}->{$str}) { $str = sprintf("Core %2d", $n2); push(@tmp, "LINE2:core_$n2" . $LC[$n2] . ":$str\\g");