提交 812a9e5e 编写于 作者: P Peter Krempa

phyp: Fix error messages mentioning memory

The messages for currentMemory and memory were swapped.
上级 ccfe9e48
...@@ -3486,15 +3486,15 @@ phypBuildLpar(virConnectPtr conn, virDomainDefPtr def) ...@@ -3486,15 +3486,15 @@ phypBuildLpar(virConnectPtr conn, virDomainDefPtr def)
if (!def->mem.cur_balloon) { if (!def->mem.cur_balloon) {
virReportError(VIR_ERR_XML_ERROR, "%s", virReportError(VIR_ERR_XML_ERROR, "%s",
_("Field <memory> on the domain XML file is missing or has " _("Field <currentMemory> on the domain XML file is "
"invalid value.")); "missing or has invalid value"));
goto cleanup; goto cleanup;
} }
if (!def->mem.max_balloon) { if (!def->mem.max_balloon) {
virReportError(VIR_ERR_XML_ERROR, "%s", virReportError(VIR_ERR_XML_ERROR, "%s",
_("Field <currentMemory> on the domain XML file is missing or " _("Field <memory> on the domain XML file is missing or "
"has invalid value.")); "has invalid value"));
goto cleanup; goto cleanup;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册