mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
hwmon: (coretemp) Fix cpu model output
Avoid hex and decimal confusion when printing out the cpu model. Signed-off-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
b72c40949b
commit
fcc6a7462e
@ -466,7 +466,7 @@ static int __init coretemp_init(void)
|
||||
family 6 CPU */
|
||||
if ((c->x86 == 0x6) && (c->x86_model > 0xf))
|
||||
printk(KERN_WARNING DRVNAME ": Unknown CPU "
|
||||
"model %x\n", c->x86_model);
|
||||
"model 0x%x\n", c->x86_model);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user