From: Osier Yang Date: Mon, 5 Mar 2012 10:41:20 +0000 (+0800) Subject: Fix type and add missed comment for diskChange callback X-Git-Tag: v0.9.11-rc1~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d2da30edb47a21f0f28df67d230f3ceb1f2e267;p=thirdparty%2Flibvirt.git Fix type and add missed comment for diskChange callback Comment for parameter devAlias is missed. And a typo should be caused by copy & paste. --- diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index 58c4366e52..92cc30c16f 100644 --- a/include/libvirt/libvirt.h.in +++ b/include/libvirt/libvirt.h.in @@ -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,