From 555dc447122b130fed66b194bf307a6862fa903c Mon Sep 17 00:00:00 2001 From: Nima Talebi Date: Mon, 14 Dec 2009 18:10:49 +1100 Subject: Spelling fixes Thanks Lintian! You're a champ! --- src/dmidecode.c | 2 +- src/xmlpythonizer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 section -- cgit