From 13f26081269f1d41dfd99dafe6a4152d108e759e Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 15 Apr 2013 11:04:56 +0200 Subject: [PATCH] lib: Fix docs about return value of virDomainGetVcpusFlags() The return value description stated that 0 is returned in case of success instead of the count of vCPUs. --- src/libvirt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libvirt.c b/src/libvirt.c index d7b441653b..870519e836 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -8968,7 +8968,7 @@ error: * virtual CPU limit is queried. Otherwise, this call queries the * current virtual CPU limit. * - * Returns 0 in case of success, -1 in case of failure. + * Returns the number of vCPUs in case of success, -1 in case of failure. */ int -- GitLab