[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Typos: Get rid of dependan(t|cies)



Dependant is flagged as wrong in US dictionary (only valid in UK
dictionary, and even then, it has only the financial sense and not the
inter-relatedness sense that we are more prone to be wanting throughout
code).

Signed-off-by: Martin Kletzander <mkletzan redhat com>
---
Pushed as trivial and already decided on in here:
https://www.redhat.com/archives/libvir-list/2015-March/msg01320.html

 src/libvirt-domain.c | 4 ++--
 src/libvirt-secret.c | 2 +-
 src/util/virkmod.c   | 2 +-
 tools/virsh.pod      | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index f1608dc..0d00af8 100644
--- a/src/libvirt-domain.c
+++ b/src/libvirt-domain.c
@@ -2642,7 +2642,7 @@ virDomainGetXMLDesc(virDomainPtr domain, unsigned int flags)
  *
  * Reads native configuration data  describing a domain, and
  * generates libvirt domain XML. The format of the native
- * data is hypervisor dependant.
+ * data is hypervisor dependent.
  *
  * Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case of error.
  *         the caller must free() the returned value.
@@ -2692,7 +2692,7 @@ virConnectDomainXMLFromNative(virConnectPtr conn,
  *
  * Reads a domain XML configuration document, and generates
  * a native configuration file describing the domain.
- * The format of the native data is hypervisor dependant.
+ * The format of the native data is hypervisor dependent.
  *
  * Returns a 0 terminated UTF-8 encoded native config datafile, or NULL in case of error.
  *         the caller must free() the returned value.
diff --git a/src/libvirt-secret.c b/src/libvirt-secret.c
index 946d1b8..e77f223 100644
--- a/src/libvirt-secret.c
+++ b/src/libvirt-secret.c
@@ -452,7 +452,7 @@ virSecretGetUsageType(virSecretPtr secret)
  *
  * Get the unique identifier of the object with which this
  * secret is to be used. The format of the identifier is
- * dependant on the usage type of the secret. For a secret
+ * dependent on the usage type of the secret. For a secret
  * with a usage type of VIR_SECRET_USAGE_TYPE_VOLUME the
  * identifier will be a fully qualfied path name. The
  * identifiers are intended to be unique within the set of
diff --git a/src/util/virkmod.c b/src/util/virkmod.c
index e0bcdfc..219fad6 100644
--- a/src/util/virkmod.c
+++ b/src/util/virkmod.c
@@ -121,7 +121,7 @@ virKModLoad(const char *module, bool useBlacklist)
  * Remove or unload a module.
  *
  * NB: Do not use 'modprobe -r' here as that code will recursively
- * unload any modules that were dependancies of the one being removed
+ * unload any modules that were dependencies of the one being removed
  * even if things still require them. e.g. it'll see the 'bridge'
  * module has refcount of 0 and remove it, even if there are bridges
  * created on the host
diff --git a/tools/virsh.pod b/tools/virsh.pod
index 5d52761..79d50f9 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -3235,7 +3235,7 @@ B<Note>: A storage pool that relies on remote resources such as an
 times in order to have all the volumes detected (see B<pool-refresh>).
 This is because the corresponding volume devices may not be present in
 the host's filesystem during the initial pool startup or the current
-refresh attempt. The number of refresh retries is dependant upon the
+refresh attempt. The number of refresh retries is dependent upon the
 network connection and the time the host takes to export the
 corresponding devices.

--
2.3.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]