提交 6fd4c302 编写于 作者: A Atsushi SAKAI

fix typos src/virsh.c from John Levon,

  and 3 more files(src/domain_conf.c src/openvz_driver.c src/qemu_driver.c)
上级 2723efaa
Fri Aug 15 10:34:24 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
* 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 <berrange@redhat.com> Thu Aug 14 10:06:36 BST 2008 Daniel Berrange <berrange@redhat.com>
* po/POTFILES.in: Add lxc_controller.c, remove lxc_conf.c * po/POTFILES.in: Add lxc_controller.c, remove lxc_conf.c
......
...@@ -1579,7 +1579,7 @@ virDomainHostdevDefParseXML(virConnectPtr conn, ...@@ -1579,7 +1579,7 @@ virDomainHostdevDefParseXML(virConnectPtr conn,
} }
} else { } else {
virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR, virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR,
_("uknown node %s"), cur->name); _("unknown node %s"), cur->name);
} }
} }
cur = cur->next; cur = cur->next;
......
...@@ -651,7 +651,7 @@ openvzDomainGetAutostart(virDomainPtr dom, int *autostart) ...@@ -651,7 +651,7 @@ openvzDomainGetAutostart(virDomainPtr dom, int *autostart)
} }
if (openvzReadConfigParam(strtoI(vm->vmdef->name), "ONBOOT", value, sizeof(value)) < 0) { 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; return -1;
} }
......
...@@ -1874,7 +1874,7 @@ static int qemudGetProcessInfo(unsigned long long *cpuTime, int pid) { ...@@ -1874,7 +1874,7 @@ static int qemudGetProcessInfo(unsigned long long *cpuTime, int pid) {
} }
if (!(pidinfo = fopen(proc, "r"))) { if (!(pidinfo = fopen(proc, "r"))) {
/*printf("cannnot read pid info");*/ /*printf("cannot read pid info");*/
/* VM probably shut down, so fake 0 */ /* VM probably shut down, so fake 0 */
*cpuTime = 0; *cpuTime = 0;
return 0; return 0;
...@@ -3113,7 +3113,7 @@ static int qemudDomainAttachDevice(virDomainPtr dom, ...@@ -3113,7 +3113,7 @@ static int qemudDomainAttachDevice(virDomainPtr dom,
ret = qemudDomainAttachHostDevice(dom, dev); ret = qemudDomainAttachHostDevice(dom, dev);
} else { } else {
qemudReportError(dom->conn, dom, NULL, VIR_ERR_NO_SUPPORT, qemudReportError(dom->conn, dom, NULL, VIR_ERR_NO_SUPPORT,
"%s", _("this devicetype cannnot be attached")); "%s", _("this devicetype cannot be attached"));
ret = -1; ret = -1;
} }
......
...@@ -1323,7 +1323,7 @@ cmdDump(vshControl *ctl, const vshCmd *cmd) ...@@ -1323,7 +1323,7 @@ cmdDump(vshControl *ctl, const vshCmd *cmd)
return FALSE; return FALSE;
if (virDomainCoreDump(dom, to, 0) == 0) { 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 { } else {
vshError(ctl, FALSE, _("Failed to core dump domain %s to %s"), vshError(ctl, FALSE, _("Failed to core dump domain %s to %s"),
name, to); name, to);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册