libvirt: Fix comments for two public APIs.

Fix comments for virConnectListAllNodeDevices and
virConnectListAllSecrets.

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
Han Han 2018-03-20 15:32:26 +08:00 committed by John Ferlan
parent a8223d8f4a
commit ec34c51e9d
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ virNodeNumOfDevices(virConnectPtr conn, const char *cap, unsigned int flags)
* @devices: Pointer to a variable to store the array containing the node
* device objects or NULL if the list is not required (just returns
* number of node devices).
* @flags: bitwise-OR of virConnectListAllNodeDevices.
* @flags: bitwise-OR of virConnectListAllNodeDeviceFlags.
*
* Collect the list of node devices, and allocate an array to store those
* objects.

View File

@ -90,7 +90,7 @@ virConnectNumOfSecrets(virConnectPtr conn)
* @secrets: Pointer to a variable to store the array containing the secret
* objects or NULL if the list is not required (just returns the
* number of secrets).
* @flags: extra flags; not used yet, so callers should always pass 0
* @flags: bitwise-OR of virConnectListAllSecretsFlags.
*
* Collect the list of secrets, and allocate an array to store those
* objects.