On 12/01/2013 07:56 PM, Daniel Veillard wrote:
On Mon, Dec 02, 2013 at 10:36:16AM +0800, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao(a)cn.fujitsu.com>
>
> s/caused/causes
ACK, applied and pushed :-)
Actually, see my comments on v1. "cause" is better than "causes"
here.
I'm pushing this:
diff --git c/include/libvirt/libvirt.h.in i/include/libvirt/libvirt.h.in
index 6e480bb..df78783 100644
--- c/include/libvirt/libvirt.h.in
+++ i/include/libvirt/libvirt.h.in
@@ -3463,7 +3463,7 @@ typedef enum {
/**
* virDomainEventDefinedDetailType:
*
- * Details on the causes of the 'defined' lifecycle event
+ * Details on the cause of a 'defined' lifecycle event
*/
typedef enum {
VIR_DOMAIN_EVENT_DEFINED_ADDED = 0, /* Newly created config file */
@@ -3477,7 +3477,7 @@ typedef enum {
/**
* virDomainEventUndefinedDetailType:
*
- * Details on the causes of the 'undefined' lifecycle event
+ * Details on the cause of an 'undefined' lifecycle event
*/
typedef enum {
VIR_DOMAIN_EVENT_UNDEFINED_REMOVED = 0, /* Deleted the config file */
@@ -3490,7 +3490,7 @@ typedef enum {
/**
* virDomainEventStartedDetailType:
*
- * Details on the causes of the 'started' lifecycle event
+ * Details on the cause of a 'started' lifecycle event
*/
typedef enum {
VIR_DOMAIN_EVENT_STARTED_BOOTED = 0, /* Normal startup from boot */
@@ -3507,7 +3507,7 @@ typedef enum {
/**
* virDomainEventSuspendedDetailType:
*
- * Details on the causes of the 'suspended' lifecycle event
+ * Details on the cause of a 'suspended' lifecycle event
*/
typedef enum {
VIR_DOMAIN_EVENT_SUSPENDED_PAUSED = 0, /* Normal suspend due to
admin pause */
@@ -3526,7 +3526,7 @@ typedef enum {
/**
* virDomainEventResumedDetailType:
*
- * Details on the causes of the 'resumed' lifecycle event
+ * Details on the cause of a 'resumed' lifecycle event
*/
typedef enum {
VIR_DOMAIN_EVENT_RESUMED_UNPAUSED = 0, /* Normal resume due to
admin unpause */
@@ -3541,7 +3541,7 @@ typedef enum {
/**
* virDomainEventStoppedDetailType:
*
- * Details on the causes of the 'stopped' lifecycle event
+ * Details on the cause of a 'stopped' lifecycle event
*/
typedef enum {
VIR_DOMAIN_EVENT_STOPPED_SHUTDOWN = 0, /* Normal shutdown */
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org