[libvirt PATCH 5/5] examples: fix misc spelling errors reported by codespell

Daniel P. Berrangé berrange at redhat.com
Fri Oct 2 14:12:49 UTC 2020


Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 examples/c/admin/list_clients.c | 2 +-
 examples/c/admin/list_servers.c | 2 +-
 examples/c/domain/info1.c       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/c/admin/list_clients.c b/examples/c/admin/list_clients.c
index 2876637d42..70907b4fba 100644
--- a/examples/c/admin/list_clients.c
+++ b/examples/c/admin/list_clients.c
@@ -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
diff --git a/examples/c/admin/list_servers.c b/examples/c/admin/list_servers.c
index e53cd3b48f..a5e91e1167 100644
--- a/examples/c/admin/list_servers.c
+++ b/examples/c/admin/list_servers.c
@@ -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
diff --git a/examples/c/domain/info1.c b/examples/c/domain/info1.c
index f0ea9b9f08..6e315052e2 100644
--- a/examples/c/domain/info1.c
+++ b/examples/c/domain/info1.c
@@ -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.
-- 
2.26.2




More information about the libvir-list mailing list