summaryrefslogtreecommitdiffstats
path: root/src/dmidecode.c
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-06-11 09:50:31 +0200
committerDavid Sommerseth <davids@redhat.com>2009-06-11 09:50:31 +0200
commitb3f5e9f97e283f2f23f36251b971458f805c6893 (patch)
tree785fb602a42e9e505e407a434ca63b809f61db8f /src/dmidecode.c
parent070beb3f0bbaa288f8c8e5b723dd29afe137348c (diff)
downloadpython-dmidecode-b3f5e9f97e283f2f23f36251b971458f805c6893.tar.gz
python-dmidecode-b3f5e9f97e283f2f23f36251b971458f805c6893.tar.xz
python-dmidecode-b3f5e9f97e283f2f23f36251b971458f805c6893.zip
Fixed error in XML data for dmi_temperature_probe_location(...)
Diffstat (limited to 'src/dmidecode.c')
-rw-r--r--src/dmidecode.c2
1 files changed, 1 insertions, 1 deletions
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");
}