summaryrefslogtreecommitdiff
path: root/src/libvirt-domain.c
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2021-09-10 10:58:55 +0200
committerMichal Privoznik <mprivozn@redhat.com>2021-09-10 11:09:27 +0200
commit4c910519c53fa01ae356bad13ba38750d7755683 (patch)
tree41418d7639ddbe38cc1363126ff8c15215e26c8d /src/libvirt-domain.c
parent05e71df9f3642252744e63cc0d1b0d976109140c (diff)
downloadlibvirt-4c910519c53fa01ae356bad13ba38750d7755683.tar.gz
libvirt-domain.c: Fix typo in virDomainAttachDevice doc
In the documentation to virDomainAttachDevice() we refer to a non-existent virDomainUpdateDeviceFlag() function. The correct name is virDomainUpdateDeviceFlags(). Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'src/libvirt-domain.c')
-rw-r--r--src/libvirt-domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index a8a386e839..57baef6889 100644
--- a/src/libvirt-domain.c
+++ b/src/libvirt-domain.c
@@ -8309,7 +8309,7 @@ virDomainGetMetadata(virDomainPtr domain,
*
* For compatibility, this method can also be used to change the media
* in an existing CDROM/Floppy device, however, applications are
- * recommended to use the virDomainUpdateDeviceFlag method instead.
+ * recommended to use the virDomainUpdateDeviceFlags method instead.
*
* Be aware that hotplug changes might not persist across a domain going
* into S4 state (also known as hibernation) unless you also modify the