]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix minor typos osstest/frozen/xen-4.8-testing
authorYuri Chornoivan <yurchor@ukr.net>
Thu, 1 Dec 2016 20:50:08 +0000 (22:50 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 2 Dec 2016 08:25:13 +0000 (09:25 +0100)
daemon/stream.c
docs/internals/command.html.in
src/qemu/qemu_domain_address.c
src/storage/storage_backend_disk.c
src/test/test_driver.c
src/util/virstring.c
src/vbox/vbox_tmpl.c
tools/virsh-nodedev.c

index 533ecf7f910013d35d044425d880792d485b81d1..11c0a469d53e288efd2221ca73329c1d06538b8c 100644 (file)
@@ -719,7 +719,7 @@ daemonStreamHandleWrite(virNetServerClientPtr client,
  * worth of data, and then queues that for transmission
  * to the client.
  *
- * Returns 0 if data was queued for TX, or a error RPC
+ * Returns 0 if data was queued for TX, or an error RPC
  * was sent, or -1 on fatal error, indicating client should
  * be killed
  */
index c6131e376e94f748934944b50a62160b42996a0b..2d8b093083fe44833d7ec63707493307ce45126b 100644 (file)
@@ -122,7 +122,7 @@ virCommandAddArgFormat(cmd, "%d", count);
 </pre>
 
     <p>
-      To add a entire NULL terminated array of arguments in one go,
+      To add an entire NULL terminated array of arguments in one go,
       there are two options.
     </p>
 
index 3a292baca363423f4a04b717d114dc39f07fe787..be4ed2312ce95f2b2ecbf3137982f6bc9fe6599c 100644 (file)
@@ -2320,7 +2320,7 @@ qemuAssignMemoryDeviceSlot(virDomainMemoryDefPtr mem,
 
     if ((nextslot = virBitmapNextClearBit(slotmap, -1)) < 0) {
         virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                       _("failed to find a emtpy memory slot"));
+                       _("failed to find an empty memory slot"));
         return -1;
     }
 
index 666ad0327f139990c54b8bc937535ab16a3dbe8f..97e5a8f1ac158bd7bacadf3e19a5c324e38a0063 100644 (file)
@@ -653,7 +653,7 @@ virStorageBackendDiskPartFormat(virStoragePoolObjPtr pool,
             return -1;
         }
         if (vol->target.format == VIR_STORAGE_VOL_DISK_EXTENDED) {
-            /* make sure we don't have a extended partition already */
+            /* make sure we don't have an extended partition already */
             for (i = 0; i < pool->volumes.count; i++) {
                 if (pool->volumes.objs[i]->source.partType ==
                     VIR_STORAGE_VOL_DISK_TYPE_EXTENDED) {
@@ -675,7 +675,7 @@ virStorageBackendDiskPartFormat(virStoragePoolObjPtr pool,
                     return -1;
                 break;
             case VIR_STORAGE_VOL_DISK_TYPE_LOGICAL:
-                /* make sure we have a extended partition */
+                /* make sure we have an extended partition */
                 for (i = 0; i < pool->volumes.count; i++) {
                     if (pool->volumes.objs[i]->source.partType ==
                         VIR_STORAGE_VOL_DISK_TYPE_EXTENDED) {
index 9eff82c129d956a5f9972a7849ef4949b46e1b00..5a82f8e7f93871339e342685b41c657d91e597e3 100644 (file)
@@ -2057,7 +2057,7 @@ testDomainSaveFlags(virDomainPtr domain, const char *path,
 
     /* Don't report failure in close or unlink, because
      * in either case we're already in a failure scenario
-     * and have reported a earlier error */
+     * and have reported an earlier error */
     if (ret != 0) {
         VIR_FORCE_CLOSE(fd);
         unlink(path);
index 2ab252cbd298a60d555fcff4b8c46f591b4b8d34..740cf4d238fc48906594bb69b3330e7ef352a3fe 100644 (file)
@@ -60,7 +60,7 @@ VIR_LOG_INIT("util.string");
  *
  * As a special case, the result of splitting the empty string "" is an empty
  * vector, not a vector containing a single string. The reason for this
- * special case is that being able to represent a empty vector is typically
+ * special case is that being able to represent an empty vector is typically
  * more useful than consistent handling of empty elements. If you do need
  * to represent empty elements, you'll need to check for the empty string
  * before calling virStringSplit().
index 38d01f42e2bd16838c5b3f6f4df84b17e4bfed2f..67c9bf5a27f4e523b1365423f4de58b2e7acd349 100644 (file)
@@ -1793,7 +1793,7 @@ vboxConnectDomainEventRegister(virConnectPtr conn,
         vboxRet = 0;
     }
 
-    /* Get the vbox file handle and add a event handle to it
+    /* Get the vbox file handle and add an event handle to it
      * so that the events can be passed down to the user
      */
     if (vboxRet == 0) {
@@ -1900,7 +1900,7 @@ static int vboxConnectDomainEventRegisterAny(virConnectPtr conn,
         vboxRet = 0;
     }
 
-    /* Get the vbox file handle and add a event handle to it
+    /* Get the vbox file handle and add an event handle to it
      * so that the events can be passed down to the user
      */
     if (vboxRet == 0) {
index f76cade74d47143604b29183607ac8da12c13a73..9ede96886210c1eb2fe285f0eaed85a5482a5aab 100644 (file)
@@ -818,7 +818,7 @@ vshEventGenericPrint(virConnectPtr conn ATTRIBUTE_UNUSED,
         if (virTimeStringNowRaw(timestamp) < 0)
             timestamp[0] = '\0';
 
-        vshPrint(data->ctl, _("%s: event '%s'' for node device %s\n"),
+        vshPrint(data->ctl, _("%s: event '%s' for node device %s\n"),
                  timestamp,
                  data->cb->name,
                  virNodeDeviceGetName(dev));