diff options
author | Peter Krempa <pkrempa@redhat.com> | 2014-10-21 15:59:21 +0200 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2014-10-22 09:43:43 +0200 |
commit | 7bfe4e3cf68f2725c94fbff4e619b1d12af08164 (patch) | |
tree | 3d5aa40bab55201bd125a7b3717892a2bb4f0961 | |
parent | d8b7aa4b1839237e384e6547eb56f889046793ed (diff) | |
download | libvirt-python-7bfe4e3cf68f2725c94fbff4e619b1d12af08164.tar.gz |
Fix function name when parsing arguments in libvirt_virNodeAllocPages
The override function was copied&pasted from virConnectGetAllDomainStats
and the function name after the colon was not changed. Fix the issue as
an invalid name would appear in the error message.
-rw-r--r-- | libvirt-override.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-override.c b/libvirt-override.c index c887b71..b4bb571 100644 --- a/libvirt-override.c +++ b/libvirt-override.c @@ -8214,7 +8214,7 @@ libvirt_virNodeAllocPages(PyObject *self ATTRIBUTE_UNUSED, unsigned int flags = VIR_NODE_ALLOC_PAGES_ADD; int c_retval; - if (!PyArg_ParseTuple(args, (char *)"OOiii:virConnectGetAllDomainStats", + if (!PyArg_ParseTuple(args, (char *)"OOiii:virNodeAllocPages", &pyobj_conn, &pyobj_pages, &startCell, &cellCount, &flags)) return NULL; |