提交 b4e4dfff 编写于 作者: E Eric Blake

maint: fix typos related to 'frozen'

"Freezed" is not an English word.

* src/lxc/lxc_driver.c (lxcFreezeContainer): Fix typo.
* src/qemu/qemu_driver.c (qemuDomainSnapshotFSFreeze): Likewise.
Signed-off-by: NEric Blake <eblake@redhat.com>
上级 e0879117
......@@ -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) {
......
......@@ -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. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册