From: Prarit Bhargava Date: Mon, 29 Mar 2010 20:02:59 +0000 (+0200) Subject: hwmon: (coretemp) Fix cpu model output X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fcc6a7462ec8d8a7d63ec59559e91f8fd6991160;p=linux-beck.git hwmon: (coretemp) Fix cpu model output Avoid hex and decimal confusion when printing out the cpu model. Signed-off-by: Prarit Bhargava Signed-off-by: Jean Delvare --- diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index 2d7bceeed0bc..f5f975ba36e5 100644 --- a/drivers/hwmon/coretemp.c +++ b/drivers/hwmon/coretemp.c @@ -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; }