Explorar el Código

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>
Prarit Bhargava hace 15 años
padre
commit
fcc6a7462e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/hwmon/coretemp.c

+ 1 - 1
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;
 		}