[libvirt PATCH v2 3/3] Fix some typos

Tim Wiederhake twiederh at redhat.com
Mon Jan 10 15:41:27 UTC 2022


Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
---
 src/qemu/qemu_cgroup.c            | 2 +-
 tests/qemucapabilitiesnumbering.c | 2 +-
 tests/qemucapabilitiestest.c      | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c
index 308be5b00f..22a6f56cf9 100644
--- a/src/qemu/qemu_cgroup.c
+++ b/src/qemu/qemu_cgroup.c
@@ -447,7 +447,7 @@ qemuSetupHostdevCgroup(virDomainObj *vm,
 
 /**
  * qemuTeardownHostdevCgroup:
- * @vm: doamin object
+ * @vm: domain object
  * @dev: device to tear down
  *
  * For given host device @dev deny access to it in CGroups.
diff --git a/tests/qemucapabilitiesnumbering.c b/tests/qemucapabilitiesnumbering.c
index eff7dbe2a1..aae21893c2 100644
--- a/tests/qemucapabilitiesnumbering.c
+++ b/tests/qemucapabilitiesnumbering.c
@@ -57,7 +57,7 @@ modify(struct qmpCommandList *list G_GNUC_UNUSED)
 
         if (STREQ_NULLABLE(cmdname, "qom-list-properties")) {
             found = i;
-            // break; /* uncomment if you want to find the first occurence */
+            // break; /* uncomment if you want to find the first occurrence */
         }
     }
 
diff --git a/tests/qemucapabilitiestest.c b/tests/qemucapabilitiestest.c
index ae208f442c..79dd358ef4 100644
--- a/tests/qemucapabilitiestest.c
+++ b/tests/qemucapabilitiestest.c
@@ -213,8 +213,8 @@ mymain(void)
      *
      * If you manually edit replies files you can run
      * VIR_TEST_REGENERATE_OUTPUT=1 tests/qemucapabilitiesnumbering
-     * to fix the replies ids. The tool also allows for programatic modification
-     * of the replies file.
+     * to fix the replies ids. The tool also allows for programmatic
+     * modification of the replies file.
      *
      * Once a replies file has been generated and tweaked if necessary,
      * you can drop it into tests/qemucapabilitiesdata/ (with a sensible
-- 
2.31.1




More information about the libvir-list mailing list