From: Peter Krempa Date: Mon, 15 Apr 2013 09:04:56 +0000 (+0200) Subject: lib: Fix docs about return value of virDomainGetVcpusFlags() X-Git-Tag: v1.0.5-rc1~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13f26081269f1d41dfd99dafe6a4152d108e759e;p=thirdparty%2Flibvirt.git 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. --- 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