Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}