hwmon: (coretemp) Fix cpu model output
authorPrarit Bhargava <prarit@redhat.com>
Mon, 29 Mar 2010 20:02:59 +0000 (22:02 +0200)
committerJean Delvare <khali@linux-fr.org>
Mon, 29 Mar 2010 20:02:59 +0000 (22:02 +0200)
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>
drivers/hwmon/coretemp.c

index 2d7bceeed0bc3daf10a8ae2d58d106d575107eb2..f5f975ba36e55cb44594adcbd790a03660d887f5 100644 (file)
@@ -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;
                }