diff --git a/src/conf/network_conf.c b/src/conf/network_conf.c index a2220c05a6..ef3415cd89 100644 --- a/src/conf/network_conf.c +++ b/src/conf/network_conf.c @@ -1362,8 +1362,9 @@ virNetworkForwardDefParseXML(const char *networkName, forwardDev = virXPathString("string(./@dev)", ctxt); if (forwardDev && (nForwardAddrs > 0 || nForwardPfs > 0)) { - virReportError(VIR_ERR_XML_ERROR, "%s", - _("the 'dev' attribute cannot be used when
or sub-elements are present in network %1$s")); + virReportError(VIR_ERR_XML_ERROR, + _("the 'dev' attribute cannot be used when
or sub-elements are present in network %1$s"), + networkName); return -1; }