From 7663721800f7428aafad5ee6072763f05c7c0fde Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 2 Jul 2009 19:06:35 +0200 Subject: Completed python XML map for TypeMap 0x16 --- src/dmidecode.c | 2 +- src/pymap.xml | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dmidecode.c b/src/dmidecode.c index 33730c3..d4d8e9a 100644 --- a/src/dmidecode.c +++ b/src/dmidecode.c @@ -4383,7 +4383,7 @@ xmlNode *dmi_decode(xmlNode *prnt_n, dmi_codes_major *dmiMajor, struct dmi_heade dmixml_AddTextChild(sect_n, "SBDSchemistry", "%s", dmi_string(h, data[0x14])); } - dmixml_AddTextChild(sect_n, "OEMinformation", "%s", "0x%08x", DWORD(data + 0x16)); + dmixml_AddTextChild(sect_n, "OEMinformation", "0x%08x", DWORD(data + 0x16)); break; case 23: /* 3.3.24 System Reset */ diff --git a/src/pymap.xml b/src/pymap.xml index 6b3c7ab..9323b59 100644 --- a/src/pymap.xml +++ b/src/pymap.xml @@ -522,8 +522,29 @@ - + + + + + + + + + + + + + + + + + + + -- cgit