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>
This commit is contained in:
Michal Privoznik 2021-09-10 10:58:55 +02:00
parent 05e71df9f3
commit 4c910519c5

View 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