From 6690a97b06d1360706b5333a7d2d9988cc861181 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Thu, 20 Jan 2022 21:46:28 +0100 Subject: [PATCH] virNetworkPortDefParseXML: Fix a typo in an error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/conf/virnetworkportdef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {