]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix type and add missed comment for diskChange callback
authorOsier Yang <jyang@redhat.com>
Mon, 5 Mar 2012 10:41:20 +0000 (18:41 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 5 Mar 2012 10:43:32 +0000 (18:43 +0800)
Comment for parameter devAlias is missed. And a typo should
be caused by copy & paste.

include/libvirt/libvirt.h.in

index 58c4366e5208c2433c43163705e2a2c66cc60bbc..92cc30c16f8bdd609620114b6910d8f21769356c 100644 (file)
@@ -3624,6 +3624,7 @@ typedef enum {
  * @dom: domain on which the event occurred
  * @oldSrcPath: old source path
  * @newSrcPath: new source path
+ * @devAlias: device alias name
  * @reason: reason why this callback was called; any of
  *          virConnectDomainEventDiskChangeReason
  * @opaque: application specified data
@@ -3634,7 +3635,7 @@ typedef enum {
  * for more details.
  *
  * The callback signature to use when registering for an event of type
- * VIR_DOMAIN_EVENT_ID_IO_ERROR with virConnectDomainEventRegisterAny()
+ * VIR_DOMAIN_EVENT_ID_DISK_CHANGE with virConnectDomainEventRegisterAny()
  */
 typedef void (*virConnectDomainEventDiskChangeCallback)(virConnectPtr conn,
                                                        virDomainPtr dom,