]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Fix typos in the code comment
authorHan Han <hhan@redhat.com>
Wed, 19 Jan 2022 04:19:35 +0000 (12:19 +0800)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 24 Jan 2022 14:21:49 +0000 (15:21 +0100)
1. s/LifeCycle/Lifecycle/
2. s/virConnectDomainEventTrayChangeReason/virDomainEventTrayChangeReason/

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
include/libvirt/libvirt-domain.h
include/libvirt/libvirt-network.h
include/libvirt/libvirt-nodedev.h
include/libvirt/libvirt-secret.h
include/libvirt/libvirt-storage.h
src/conf/domain_conf.h

index 5f0a9b7572f9bd982e6cc94106eddeaff659b6ed..06473619523e8accced84b24ccddb2386e84c2fd 100644 (file)
@@ -4054,7 +4054,7 @@ typedef void (*virConnectDomainEventDiskChangeCallback)(virConnectPtr conn,
                                                         void *opaque);
 
 /**
- * virConnectDomainEventTrayChangeReason:
+ * virDomainEventTrayChangeReason:
  *
  * The reason describing why the callback was called
  */
index 398d8fccd484211ffcec8139e68a6e0c48be9b29..80bd03878beee698b281dced8c4e8dc18cdce14e 100644 (file)
@@ -262,7 +262,7 @@ typedef enum {
  * virConnectNetworkEventLifecycleCallback:
  * @conn: connection object
  * @net: network on which the event occurred
- * @event: The specific virNetworkEventLifeCycleType which occurred
+ * @event: The specific virNetworkEventLifecycleType which occurred
  * @detail: contains some details on the reason of the event.
  *          It will be 0 for the while.
  * @opaque: application specified data
index 245365b07fcccc684e083ba7e89998212018d361..0c01d51aab2ee956a2c9b42f5d48d0a1cec71631 100644 (file)
@@ -229,7 +229,7 @@ typedef enum {
  * virConnectNodeDeviceEventLifecycleCallback:
  * @conn: connection object
  * @dev: node device on which the event occurred
- * @event: The specific virNodeDeviceEventLifeCycleType which occurred
+ * @event: The specific virNodeDeviceEventLifecycleType which occurred
  * @detail: contains some details on the reason of the event.
  * @opaque: application specified data
  *
index b8e53674d80ce6f6bde65128db75339975606aaa..bc1286883ce5f702284aecb5fd162ccce83edfcb 100644 (file)
@@ -190,7 +190,7 @@ typedef enum {
  * virConnectSecretEventLifecycleCallback:
  * @conn: connection object
  * @secret: secret on which the event occurred
- * @event: The specific virSecretEventLifeCycleType which occurred
+ * @event: The specific virSecretEventLifecycleType which occurred
  * @detail: contains some details on the reason of the event.
  * @opaque: application specified data
  *
index f89856b93ef23c69414b2ca05b55fe5830871ebb..f8c665a18f16758ba4fb6baaccec1d7b9867fd70 100644 (file)
@@ -488,7 +488,7 @@ typedef enum {
  * virConnectStoragePoolEventLifecycleCallback:
  * @conn: connection object
  * @pool: pool on which the event occurred
- * @event: The specific virStoragePoolEventLifeCycleType which occurred
+ * @event: The specific virStoragePoolEventLifecycleType which occurred
  * @detail: contains some details on the reason of the event.
  * @opaque: application specified data
  *
index 3e63d2513b30f20975f7a772d62bbdcd8c612f65..383eb1e6b845b0382eab27800111ead892371b56 100644 (file)
@@ -2822,7 +2822,7 @@ struct _virDomainDef {
     virDomainResourceDef *resource;
     virDomainIdMapDef idmap;
 
-    /* These 3 are based on virDomainLifeCycleAction enum flags */
+    /* These 3 are based on virDomainLifecycleAction enum flags */
     int onReboot;
     int onPoweroff;
     int onCrash;