There's a typo in error message that's printed when parsing of
<plug type=''/> fails: "prt" is reported instead of
"port".
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
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) {
--
2.34.1