diff options
author | Nima Talebi <nima@it.net.au> | 2009-12-14 18:10:49 +1100 |
---|---|---|
committer | Nima Talebi <nima@it.net.au> | 2009-12-14 18:10:49 +1100 |
commit | 555dc447122b130fed66b194bf307a6862fa903c (patch) | |
tree | 7239fab1ee811958673f6d95330e3da7a4ac2a5a | |
parent | fd80be196a132bd67782bfde4deba910d578b4b7 (diff) | |
download | python-dmidecode-555dc447122b130fed66b194bf307a6862fa903c.tar.gz python-dmidecode-555dc447122b130fed66b194bf307a6862fa903c.tar.xz python-dmidecode-555dc447122b130fed66b194bf307a6862fa903c.zip |
Spelling fixes
Thanks Lintian! You're a champ!
-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 |