[libvirt] [PATCH] maint: fix comment typos

Eric Blake eblake at redhat.com
Thu Apr 28 14:14:42 UTC 2011


* src/esx/esx_driver.c: Fix spelling of 'relative'.
* src/util/util.c: Likewise.
---

Pushing under the trivial rule.

 src/esx/esx_driver.c |    2 +-
 src/util/util.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c
index 79c1360..81e3c8e 100644
--- a/src/esx/esx_driver.c
+++ b/src/esx/esx_driver.c
@@ -2413,7 +2413,7 @@ esxDomainGetInfo(virDomainPtr domain, virDomainInfoPtr info)
             VIR_DEBUG("usedCpuTimeCounterId %d END", priv->usedCpuTimeCounterId);

             /*
-             * FIXME: Cannot map between realtive used-cpu-time and absolute
+             * FIXME: Cannot map between relative used-cpu-time and absolute
              *        info->cpuTime
              */
         }
diff --git a/src/util/util.c b/src/util/util.c
index 16454ed..a28af0b 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -2040,7 +2040,7 @@ cleanup:


 /*
- * Creates an absolute path for a potentialy realtive path.
+ * Creates an absolute path for a potentially relative path.
  * Return 0 if the path was not relative, or on success.
  * Return -1 on error.
  *
-- 
1.7.4.4




More information about the libvir-list mailing list