From 4527b2ae501df3094f23070c4507929bef9cfb1b Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Tue, 20 Oct 2015 13:16:16 -0400 Subject: [PATCH] conf: Fix error message to use correct parameter 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 02cc8ad137..0c559d2e07 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -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; }