]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
lib: Fix docs about return value of virDomainGetVcpusFlags()
authorPeter Krempa <pkrempa@redhat.com>
Mon, 15 Apr 2013 09:04:56 +0000 (11:04 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 16 Apr 2013 08:38:29 +0000 (10:38 +0200)
The return value description stated that 0 is returned in case of success
instead of the count of vCPUs.

src/libvirt.c

index d7b441653bf4d1eada5eca2a9fa47af4b70b14eb..870519e83688458c433f136788d3dffa108ae3ff 100644 (file)
@@ -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