]> xenbits.xensource.com Git - libvirt.git/commitdiff
libvirt: Fix comments for two public APIs.
authorHan Han <hhan@redhat.com>
Tue, 20 Mar 2018 07:32:26 +0000 (15:32 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 21 Mar 2018 12:09:33 +0000 (08:09 -0400)
Fix comments for virConnectListAllNodeDevices and
virConnectListAllSecrets.

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/libvirt-nodedev.c
src/libvirt-secret.c

index 493b21f566b5b7e3b5da40bba8597a66a7eaf5d1..563ce889b91718dbd7dc0dabed491ac9ce6cf6cc 100644 (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.
index 447d93f33389cda18b7da4a3888b9ede938a32db..1e1cd4e65b5931db550c9b4a0aaed60c64c91f1b 100644 (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.