dmi: dmitest have to use voltage_mv
authorErwan Velu <erwan.velu@free.fr>
Mon, 30 Nov 2009 17:44:36 +0000 (18:44 +0100)
committerErwan Velu <erwan.velu@free.fr>
Fri, 4 Dec 2009 09:11:17 +0000 (10:11 +0100)
Impact: fixing build error

Processor is now using voltage_mv

com32/modules/dmitest.c

index 212e82a..b81d0ce 100644 (file)
@@ -157,7 +157,7 @@ void display_cpu(s_dmi * dmi)
     moreprintf("\tCpu Stepping %u\n", dmi->processor.signature.stepping);
     moreprintf("\tCpu Minor Stepping %u\n",
               dmi->processor.signature.minor_stepping);
-    moreprintf("\tVoltage      %f\n", dmi->processor.voltage);
+    moreprintf("\tVoltage      %d mV\n", dmi->processor.voltage_mv);
     moreprintf("\tStatus       %s\n", dmi->processor.status);
     moreprintf("\tUpgrade      %s\n", dmi->processor.upgrade);
     moreprintf("\tCache L1 Handle %s\n", dmi->processor.cache1);