From 6fd4c30285d2f32b072bb643f80f4ff6a3f408ab Mon Sep 17 00:00:00 2001 From: Atsushi SAKAI Date: Fri, 15 Aug 2008 01:41:49 +0000 Subject: [PATCH] fix typos src/virsh.c from John Levon, and 3 more files(src/domain_conf.c src/openvz_driver.c src/qemu_driver.c) --- ChangeLog | 5 +++++ src/domain_conf.c | 2 +- src/openvz_driver.c | 2 +- src/qemu_driver.c | 4 ++-- src/virsh.c | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 50a2095763..1dc2004e97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 15 10:34:24 JST 2008 Atsushi SAKAI + + * src/virsh.c: fix typo from John Levon + * src/domain_conf.c, src/openvz_driver.c, src/qemu_driver.c:fix typos + Thu Aug 14 10:06:36 BST 2008 Daniel Berrange * po/POTFILES.in: Add lxc_controller.c, remove lxc_conf.c diff --git a/src/domain_conf.c b/src/domain_conf.c index 4f20cac994..4b095984fd 100644 --- a/src/domain_conf.c +++ b/src/domain_conf.c @@ -1579,7 +1579,7 @@ virDomainHostdevDefParseXML(virConnectPtr conn, } } else { virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR, - _("uknown node %s"), cur->name); + _("unknown node %s"), cur->name); } } cur = cur->next; diff --git a/src/openvz_driver.c b/src/openvz_driver.c index 110a9d5df5..0d0eac1af7 100644 --- a/src/openvz_driver.c +++ b/src/openvz_driver.c @@ -651,7 +651,7 @@ openvzDomainGetAutostart(virDomainPtr dom, int *autostart) } if (openvzReadConfigParam(strtoI(vm->vmdef->name), "ONBOOT", value, sizeof(value)) < 0) { - openvzError(conn, VIR_ERR_INTERNAL_ERROR, _("Cound not read container config")); + openvzError(conn, VIR_ERR_INTERNAL_ERROR, _("Could not read container config")); return -1; } diff --git a/src/qemu_driver.c b/src/qemu_driver.c index 5b8e6a6f3d..2398686ced 100644 --- a/src/qemu_driver.c +++ b/src/qemu_driver.c @@ -1874,7 +1874,7 @@ static int qemudGetProcessInfo(unsigned long long *cpuTime, int pid) { } if (!(pidinfo = fopen(proc, "r"))) { - /*printf("cannnot read pid info");*/ + /*printf("cannot read pid info");*/ /* VM probably shut down, so fake 0 */ *cpuTime = 0; return 0; @@ -3113,7 +3113,7 @@ static int qemudDomainAttachDevice(virDomainPtr dom, ret = qemudDomainAttachHostDevice(dom, dev); } else { qemudReportError(dom->conn, dom, NULL, VIR_ERR_NO_SUPPORT, - "%s", _("this devicetype cannnot be attached")); + "%s", _("this devicetype cannot be attached")); ret = -1; } diff --git a/src/virsh.c b/src/virsh.c index 122ff6fc9c..67d9658564 100644 --- a/src/virsh.c +++ b/src/virsh.c @@ -1323,7 +1323,7 @@ cmdDump(vshControl *ctl, const vshCmd *cmd) return FALSE; if (virDomainCoreDump(dom, to, 0) == 0) { - vshPrint(ctl, _("Domain %s dumpd to %s\n"), name, to); + vshPrint(ctl, _("Domain %s dumped to %s\n"), name, to); } else { vshError(ctl, FALSE, _("Failed to core dump domain %s to %s"), name, to); -- GitLab