summaryrefslogtreecommitdiffstats
path: root/pywrap/pcipywrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'pywrap/pcipywrap.c')
-rw-r--r--pywrap/pcipywrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pywrap/pcipywrap.c b/pywrap/pcipywrap.c
index 11e3ce7..df5f194 100644
--- a/pywrap/pcipywrap.c
+++ b/pywrap/pcipywrap.c
@@ -303,7 +303,7 @@ PyObject * pcilib_convert_register_info_to_pyobject(pcilib_t* ctx, pcilib_regist
if(listItem.values[j].description)
pcilib_pydict_set_item(valuesItem,
- PyString_FromString("name"),
+ PyString_FromString("description"),
PyString_FromString(listItem.values[j].description));
pcilib_pylist_append(values, valuesItem);