diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dmidecode.c | 2 | ||||
-rw-r--r-- | src/xmlpythonizer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dmidecode.c b/src/dmidecode.c index aa2332d..704294b 100644 --- a/src/dmidecode.c +++ b/src/dmidecode.c @@ -2686,7 +2686,7 @@ void dmi_memory_device_speed(xmlNode *node, u16 code) dmixml_AddAttribute(data_n, "flags", "0x%04x", code); if(code == 0) { - dmixml_AddAttribute(data_n, "unkown", "1"); + dmixml_AddAttribute(data_n, "unknown", "1"); } else { dmixml_AddAttribute(data_n, "speed_ns", "%.1f", (float) 1000 / code); dmixml_AddAttribute(data_n, "unit", "MHz"); diff --git a/src/xmlpythonizer.c b/src/xmlpythonizer.c index ba018eb..c4c6cb7 100644 --- a/src/xmlpythonizer.c +++ b/src/xmlpythonizer.c @@ -572,7 +572,7 @@ ptzMAP *dmiMAP_ParseMappingXML_GroupName(xmlDoc *xmlmap, const char *mapname) { // Validate the XML mapping document and get the root element node = dmiMAP_GetRootElement(xmlmap); if( node == NULL ) { - PyReturnError(PyExc_RuntimeError, "No valid mapping XML recieved"); + PyReturnError(PyExc_RuntimeError, "No valid mapping XML received"); } // Find the <GroupMapping> section |