From fff6c8a1cd328ebce904b7fab4bdc642596a8ef5 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 14 May 2009 17:11:55 +0200 Subject: Remove 'ns' from the speed_ns attribute in memory section --- src/dmidecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dmidecode.c') diff --git a/src/dmidecode.c b/src/dmidecode.c index 422287c..da6b72b 100644 --- a/src/dmidecode.c +++ b/src/dmidecode.c @@ -2645,7 +2645,7 @@ void dmi_memory_device_speed(xmlNode *node, u16 code) if(code == 0) { dmixml_AddAttribute(data_n, "unkown", "1"); } else { - dmixml_AddAttribute(data_n, "speed_ns", "%.1f ns", (float) 1000 / code); + dmixml_AddAttribute(data_n, "speed_ns", "%.1f", (float) 1000 / code); dmixml_AddAttribute(data_n, "unit", "MHz"); dmixml_AddTextContent(data_n, "%i", code); } -- cgit