summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPradipta Kr. Banerjee <pradipta.banerjee@gmail.com>2014-10-15 15:54:00 +0200
committerPavel Hrdina <phrdina@redhat.com>2014-10-16 09:26:58 +0200
commit8feae56ce49135761038834932d755dff49922fe (patch)
tree408eccf2e10ca74de2d27c869d71b01356d3f050
parent02cc5d62bd844bc7abbc15be23b26f6ca11ea45e (diff)
downloadlibvirt-python-8feae56ce49135761038834932d755dff49922fe.tar.gz
Change the comment in getPyNodeCPUCount method reflecting correct called methods
Comment mentions virGetNodeCPUMap whereas the actual method is virNodeGetCPUMap. Similarly comment mentions virGetNodeInfo whereas the actual method is virNodeGetInfo Signed-off-by: Pradipta Kr. Banerjee <bpradip@in.ibm.com>
-rw-r--r--libvirt-override.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvirt-override.c b/libvirt-override.c
index 8b3c503..9ba87eb 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -437,10 +437,10 @@ cleanup:
/*
* Utility function to retrieve the number of node CPUs present.
- * It first tries virGetNodeCPUMap, which will return the
+ * It first tries virNodeGetCPUMap, which will return the
* number reliably, if available.
* As a fallback and for compatibility with backlevel libvirt
- * versions virGetNodeInfo will be called to calculate the
+ * versions virNodeGetInfo will be called to calculate the
* CPU number, which has the potential to return a too small
* number if some host CPUs are offline.
*/