[python PATCH 1/3] Fix function name when parsing arguments in libvirt_virNodeAllocPages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The override function was copied&pasted from virConnectGetAllDomainStats
and the function name after the collon was not changed. Fix the issue as
an invalid name would appear in the error message.
---
 libvirt-override.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.1.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]