From b0d8c041aaf5f4f3500395d69af7e989771dff3b Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Tue, 27 Nov 2007 11:29:31 +0000 Subject: [PATCH] Fix the typo, model should be in hex. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5050 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 915b5452..42c701cc 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -5449,8 +5449,8 @@ sub coretemp_detect $probecpu->{'cpu family'} == 6 && ($probecpu->{'model'} == 14 || $probecpu->{'model'} == 15 || - $probecpu->{'model'} == 16 || - $probecpu->{'model'} == 17)) { + $probecpu->{'model'} == 0x16 || + $probecpu->{'model'} == 0x17)) { return 9; } }