phyp: Fix error messages mentioning memory

The messages for currentMemory and memory were swapped.
This commit is contained in:
Peter Krempa 2015-02-24 18:08:51 +01:00
parent ccfe9e4809
commit 812a9e5e66

View File

@ -3486,15 +3486,15 @@ phypBuildLpar(virConnectPtr conn, virDomainDefPtr def)
if (!def->mem.cur_balloon) {
virReportError(VIR_ERR_XML_ERROR, "%s",
_("Field <memory> on the domain XML file is missing or has "
"invalid value."));
_("Field <currentMemory> on the domain XML file is "
"missing or has invalid value"));
goto cleanup;
}
if (!def->mem.max_balloon) {
virReportError(VIR_ERR_XML_ERROR, "%s",
_("Field <currentMemory> on the domain XML file is missing or "
"has invalid value."));
_("Field <memory> on the domain XML file is missing or "
"has invalid value"));
goto cleanup;
}