From b3f5e9f97e283f2f23f36251b971458f805c6893 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 11 Jun 2009 09:50:31 +0200 Subject: Fixed error in XML data for dmi_temperature_probe_location(...) --- 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 0fca9c9..f819adf 100644 --- a/src/dmidecode.c +++ b/src/dmidecode.c @@ -3266,7 +3266,7 @@ void dmi_temperature_probe_location(xmlNode *node, u8 code) dmixml_AddAttribute(data_n, "flags", "0x%04x", code); if(code >= 0x01 && code <= 0x0F) { - dmixml_AddTextChild(node, "%s", location[code - 0x01]); + dmixml_AddTextContent(data_n, "%s", location[code - 0x01]); } else { dmixml_AddAttribute(data_n, "outofspec", "1"); } -- cgit