diff options
author | Prarit Bhargava <prarit@redhat.com> | 2010-03-29 22:02:59 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-03-29 22:02:59 +0200 |
commit | fcc6a7462ec8d8a7d63ec59559e91f8fd6991160 (patch) | |
tree | a2e985a2d8165f13bdfb22f3d8a709938ec2c6e4 | |
parent | b72c40949b0f04728f2993a1434598d3bad094ea (diff) |
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>
-rw-r--r-- | drivers/hwmon/coretemp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index 2d7bceeed0b..f5f975ba36e 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; } |