summaryrefslogtreecommitdiffstats
path: root/src/dmidecodemodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dmidecodemodule.c')
-rw-r--r--src/dmidecodemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dmidecodemodule.c b/src/dmidecodemodule.c
index 1f37dc3..5c74124 100644
--- a/src/dmidecodemodule.c
+++ b/src/dmidecodemodule.c
@@ -490,7 +490,7 @@ static PyObject *dmidecode_get_type(PyObject * self, PyObject * args)
static PyObject *dmidecode_xmlapi(PyObject *self, PyObject *args, PyObject *keywds)
{
- static char *keywordlist[] = {"query_type", "result_type", "section", "typeid"};
+ static char *keywordlist[] = {"query_type", "result_type", "section", "typeid", NULL};
PyObject *pydata = NULL;
xmlDoc *dmixml_doc = NULL;
xmlNode *dmixml_n = NULL;