From: Han Han Date: Tue, 20 Mar 2018 07:32:26 +0000 (+0800) Subject: libvirt: Fix comments for two public APIs. X-Git-Tag: v4.2.0-rc1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec34c51e9da229b8fa10a22168d334626bba2ddd;p=thirdparty%2Flibvirt.git libvirt: Fix comments for two public APIs. Fix comments for virConnectListAllNodeDevices and virConnectListAllSecrets. Signed-off-by: Han Han Reviewed-by: John Ferlan --- diff --git a/src/libvirt-nodedev.c b/src/libvirt-nodedev.c index 493b21f566..563ce889b9 100644 --- a/src/libvirt-nodedev.c +++ b/src/libvirt-nodedev.c @@ -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. diff --git a/src/libvirt-secret.c b/src/libvirt-secret.c index 447d93f333..1e1cd4e65b 100644 --- a/src/libvirt-secret.c +++ b/src/libvirt-secret.c @@ -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.