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
1 changed files with 4 additions and 4 deletions

View File

@ -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;
} }