]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virNetworkPortDefParseXML: Fix a typo in an error message
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Jan 2022 20:46:28 +0000 (21:46 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 21 Jan 2022 15:42:13 +0000 (16:42 +0100)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/virnetworkportdef.c

index 1ca1eddb5aab0d2552a929b1ae18414dfb3bb417..c4f5f963920d7f3518e333d8a6ff533bcc0ba031 100644 (file)
@@ -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) {