]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
libvirt-domain.c: Fix typo in virDomainAttachDevice doc
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 10 Sep 2021 08:58:55 +0000 (10:58 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 10 Sep 2021 09:09:27 +0000 (11:09 +0200)
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>
src/libvirt-domain.c

index a8a386e839564f65d9491a16bda7d2aaf4959fc7..57baef6889f2991607973c960a93280b413663e5 100644 (file)
@@ -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