From: Michal Privoznik Date: Thu, 20 Jan 2022 20:46:28 +0000 (+0100) Subject: virNetworkPortDefParseXML: Fix a typo in an error message X-Git-Tag: v8.1.0-rc1~336 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6690a97b06d1360706b5333a7d2d9988cc861181;p=thirdparty%2Flibvirt.git virNetworkPortDefParseXML: Fix a typo in an error message There's a typo in error message that's printed when parsing of fails: "prt" is reported instead of "port". Signed-off-by: Michal Privoznik Reviewed-by: Ján Tomko --- diff --git a/src/conf/virnetworkportdef.c b/src/conf/virnetworkportdef.c index 1ca1eddb5a..c4f5f96392 100644 --- a/src/conf/virnetworkportdef.c +++ b/src/conf/virnetworkportdef.c @@ -186,7 +186,7 @@ virNetworkPortDefParseXML(xmlXPathContextPtr ctxt) if (plugtype && (def->plugtype = virNetworkPortPlugTypeFromString(plugtype)) < 0) { virReportError(VIR_ERR_XML_ERROR, - _("Invalid network prt plug type '%s'"), plugtype); + _("Invalid network port plug type '%s'"), plugtype); } switch (def->plugtype) {