mirror of https://gitee.com/openkylin/libvirt.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.
This commit is contained in:
parent
3208c562b4
commit
13f2608126
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue