提交 3621d42e 编写于 作者: D Daniel Veillard

* src/openvz_conf.c src/virsh.c: various typo or english fixups

  raised by Runa Bhattacharjee
daniel
上级 1b28a99d
Wed Jun 3 14:12:47 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/openvz_conf.c src/virsh.c: various typo or english fixups
raised by Runa Bhattacharjee
Wed Jun 3 12:19:52 BST 2009 Daniel P. Berrange <berrange@redhat.com>
Fix HAL driver restart thread safety
......
......@@ -128,7 +128,7 @@ int openvzExtractVersion(virConnectPtr conn,
if (openvzExtractVersionInfo(VZCTL, &driver->version) < 0) {
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
"%s", _("Cound not extract vzctl version"));
"%s", _("Could not extract vzctl version"));
return -1;
}
......@@ -195,7 +195,7 @@ openvzReadNetworkConf(virConnectPtr conn,
ret = openvzReadVPSConfigParam(veid, "IP_ADDRESS", temp, sizeof(temp));
if (ret < 0) {
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
_("Cound not read 'IP_ADDRESS' from config for container %d"),
_("Could not read 'IP_ADDRESS' from config for container %d"),
veid);
goto error;
} else if (ret > 0) {
......@@ -227,7 +227,7 @@ openvzReadNetworkConf(virConnectPtr conn,
ret = openvzReadVPSConfigParam(veid, "NETIF", temp, sizeof(temp));
if (ret < 0) {
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
_("Cound not read 'NETIF' from config for container %d"),
_("Could not read 'NETIF' from config for container %d"),
veid);
goto error;
} else if (ret > 0) {
......@@ -356,7 +356,7 @@ openvzReadFSConf(virConnectPtr conn,
ret = openvzReadVPSConfigParam(veid, "OSTEMPLATE", temp, sizeof(temp));
if (ret < 0) {
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
_("Cound not read 'OSTEMPLATE' from config for container %d"),
_("Could not read 'OSTEMPLATE' from config for container %d"),
veid);
goto error;
} else if (ret > 0) {
......@@ -370,7 +370,7 @@ openvzReadFSConf(virConnectPtr conn,
ret = openvzReadVPSConfigParam(veid, "VE_PRIVATE", temp, sizeof(temp));
if (ret <= 0) {
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
_("Cound not read 'VE_PRIVATE' from config for container %d"),
_("Could not read 'VE_PRIVATE' from config for container %d"),
veid);
goto error;
}
......@@ -486,7 +486,7 @@ int openvzLoadDomains(struct openvz_driver *driver) {
ret = openvzReadVPSConfigParam(veid, "CPUS", temp, sizeof(temp));
if (ret < 0) {
openvzError(NULL, VIR_ERR_INTERNAL_ERROR,
_("Cound not read config for container %d"),
_("Could not read config for container %d"),
veid);
goto cleanup;
} else if (ret > 0) {
......@@ -529,7 +529,7 @@ openvzGetNodeCPUs(void)
if (virNodeInfoPopulate(NULL, &nodeinfo) < 0) {
openvzError(NULL, VIR_ERR_INTERNAL_ERROR,
"%s", _("Cound not read nodeinfo"));
"%s", _("Could not read nodeinfo"));
return 0;
}
......
......@@ -4992,8 +4992,8 @@ cmdNodeDeviceDumpXML (vshControl *ctl, const vshCmd *cmd)
* "nodedev-dettach" command
*/
static const vshCmdInfo info_node_device_dettach[] = {
{"help", gettext_noop("dettach node device its device driver")},
{"desc", gettext_noop("Dettach node device its device driver before assigning to a domain.")},
{"help", gettext_noop("dettach node device from its device driver")},
{"desc", gettext_noop("Dettach node device from its device driver before assigning to a domain.")},
{NULL, NULL}
};
......@@ -5033,8 +5033,8 @@ cmdNodeDeviceDettach (vshControl *ctl, const vshCmd *cmd)
* "nodedev-reattach" command
*/
static const vshCmdInfo info_node_device_reattach[] = {
{"help", gettext_noop("reattach node device its device driver")},
{"desc", gettext_noop("Dettach node device its device driver before assigning to a domain.")},
{"help", gettext_noop("reattach node device to its device driver")},
{"desc", gettext_noop("Reattach node device to its device driver once released by the domain.")},
{NULL, NULL}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册