]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
examples: fix misc spelling errors reported by codespell
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 2 Oct 2020 14:07:27 +0000 (15:07 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 5 Oct 2020 09:28:46 +0000 (10:28 +0100)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
examples/c/admin/list_clients.c
examples/c/admin/list_servers.c
examples/c/domain/info1.c

index 2876637d4217192a1566bb7433d190d4e3acf2cf..70907b4fba2f9cfa3256c4d32b554c808848b22d 100644 (file)
@@ -80,7 +80,7 @@ int main(int argc, char **argv)
         goto cleanup;
 
     /* let's print the currently connected clients and some basic info about
-     * them, we have 2 options how to interate over the returned list,
+     * them, we have 2 options how to iterate over the returned list,
      * use @count as the boundary or use the fact that @clients are guaranteed
      * to contain 1 extra element NULL;
      * this example uses the first option
index e53cd3b48f9bb6ba089d073060ca62412b9384ce..a5e91e1167189cf55701ebfc659c0c65142f459c 100644 (file)
@@ -19,7 +19,7 @@ int main(void)
     if ((count = virAdmConnectListServers(conn, &servers, 0)) < 0)
         goto cleanup;
 
-    /* let's print the available servers, we have 2 options how to interate
+    /* let's print the available servers, we have 2 options how to iterate
      * over the returned list, use @count as the boundary or use the fact
      * that @servers are guaranteed to contain 1 extra element NULL;
      * this example uses the second option
index f0ea9b9f08d14d708106b44b093a44dc10d8c255..6e315052e2a6ab1f586fa0ce9979e0fec7480b01 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * section: Informations
+ * section: Information
  * synopsis: Extract information about Xen domain 0
  * purpose: Demonstrate the basic use of the library to connect to the
  *          hypervisor and extract domain information.