[PATCH] maint: fix typos related to 'frozen'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Freezed" is not an English word.

* src/lxc/lxc_driver.c (lxcFreezeContainer): Fix typo.
* src/qemu/qemu_driver.c (qemuDomainSnapshotFSFreeze): Likewise.

Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
---

Pushing under the trivial rule.

 src/lxc/lxc_driver.c   | 2 +-
 src/qemu/qemu_driver.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index dba2182..1086289 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -3231,7 +3231,7 @@ static int lxcFreezeContainer(virDomainObjPtr vm)

         /*
          * Returning EBUSY explicitly indicates that the group is
-         * being freezed but incomplete and other errors are true
+         * being frozen but incomplete, and other errors are true
          * errors.
          */
         if (r < 0 && r != -EBUSY) {
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 4ff8a2d..e587183 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -12091,7 +12091,7 @@ qemuDomainSnapshotFSFreeze(virQEMUDriverPtr driver,
 {
     qemuDomainObjPrivatePtr priv = vm->privateData;
     virQEMUDriverConfigPtr cfg;
-    int freezed;
+    int frozen;

     if (priv->quiesced) {
         virReportError(VIR_ERR_OPERATION_INVALID, "%s",
@@ -12113,9 +12113,9 @@ qemuDomainSnapshotFSFreeze(virQEMUDriverPtr driver,
     virObjectUnref(cfg);

     qemuDomainObjEnterAgent(vm);
-    freezed = qemuAgentFSFreeze(priv->agent);
+    frozen = qemuAgentFSFreeze(priv->agent);
     qemuDomainObjExitAgent(vm);
-    return freezed < 0 ? -2 : freezed;
+    return frozen < 0 ? -2 : frozen;
 }

 /* Return -1 on error, otherwise number of thawed filesystems. */
-- 
1.9.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]