]> xenbits.xensource.com Git - libvirt.git/commitdiff
phyp: Fix error messages mentioning memory
authorPeter Krempa <pkrempa@redhat.com>
Tue, 24 Feb 2015 17:08:51 +0000 (18:08 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 2 Mar 2015 13:39:58 +0000 (14:39 +0100)
The messages for currentMemory and memory were swapped.

src/phyp/phyp_driver.c

index 4c748cddc0bd749c0ad8f2abb8d4e7d898518262..28739988c25165483ce7b454ddf4f065d86eede3 100644 (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;
     }