mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
virNetworkPortDefParseXML: Fix a typo in an error message
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>
This commit is contained in:
parent
7b64a83ae2
commit
6690a97b06
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user