[libvirt] [PATCH] maint: typo fixes

Eric Blake eblake at redhat.com
Fri Jun 24 14:03:19 UTC 2011


* src/xenxs/xen_sxpr.c (xenParseSxprPCI): Comment fix.
* tests/object-locking.ml (driverTables): Likewise.
* tests/testutils.c (virtTestDifferenceBin): Likewise.
---

Pushing under the trivial rule.

I noticed the testutils 'world' typo first, then looking through
all the other hits for 'world', I noticed the 'wierd' problem.

 src/xenxs/xen_sxpr.c    |    2 +-
 tests/object-locking.ml |    2 +-
 tests/testutils.c       |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/xenxs/xen_sxpr.c b/src/xenxs/xen_sxpr.c
index b5877bb..13ca015 100644
--- a/src/xenxs/xen_sxpr.c
+++ b/src/xenxs/xen_sxpr.c
@@ -922,7 +922,7 @@ xenParseSxprPCI(virDomainDefPtr def,
      * )
      *
      * Normally there is one (device ...) block per device, but in
-     * wierd world of Xen PCI, once (device ...) covers multiple
+     * weird world of Xen PCI, once (device ...) covers multiple
      * devices.
      */

diff --git a/tests/object-locking.ml b/tests/object-locking.ml
index ce3b401..68c414e 100644
--- a/tests/object-locking.ml
+++ b/tests/object-locking.ml
@@ -48,7 +48,7 @@ let driverTables = [
   "virNetworkDriver";
   "virStorageDriver";
   "virDeviceMonitor";
-(*  "virStateDriver"; Disable for now, since shutdown/startup have wierd locking rules *)
+(*  "virStateDriver"; Disable for now, since shutdown/startup have weird locking rules *)
 ]

 (*
diff --git a/tests/testutils.c b/tests/testutils.c
index d192980..b433204 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -406,7 +406,7 @@ int virtTestDifferenceBin(FILE *stream,
             }
         }
     }
-    /* Round to nearest boundary of 4, except that last world can be short */
+    /* Round to nearest boundary of 4, except that last word can be short */
     start -= (start % 4);
     end += 4 - (end % 4);
     if (end >= length)
-- 
1.7.4.4




More information about the libvir-list mailing list