[PATCH 02/12] virNetworkPortDefParseXML: Fix a typo in an error message
Michal Privoznik
mprivozn at redhat.com
Fri Jan 21 13:28:09 UTC 2022
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 at 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
More information about the libvir-list
mailing list