Commit fcc6a746 authored by Prarit Bhargava's avatar Prarit Bhargava Committed by Jean Delvare
Browse files

hwmon: (coretemp) Fix cpu model output



Avoid hex and decimal confusion when printing out the cpu model.
Signed-off-by: default avatarPrarit Bhargava <prarit@redhat.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent b72c4094
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment