]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
conf: Fix error message to use correct parameter
authorJohn Ferlan <jferlan@redhat.com>
Tue, 20 Oct 2015 17:16:16 +0000 (13:16 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 21 Oct 2015 20:37:00 +0000 (16:37 -0400)
Fix a cut-n-paste error from commit id '35eecdde' where the previous
check for max_sectors seems to have been copied, but the error message
parameter not updated to be ioeventfd

src/conf/domain_conf.c

index 02cc8ad1374ddbac060d8969098db7a2f21e9e1f..0c559d2e0753c92fd3d9653789adf1ea882bc45c 100644 (file)
@@ -7985,7 +7985,7 @@ virDomainControllerDefParseXML(xmlNodePtr node,
     if (ioeventfd &&
         (def->ioeventfd = virTristateSwitchTypeFromString(ioeventfd)) < 0) {
         virReportError(VIR_ERR_XML_ERROR,
-                       _("Malformed 'ioeventfd' value %s'"), max_sectors);
+                       _("Malformed 'ioeventfd' value %s'"), ioeventfd);
         goto error;
     }