mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +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 &&
|
if (plugtype &&
|
||||||
(def->plugtype = virNetworkPortPlugTypeFromString(plugtype)) < 0) {
|
(def->plugtype = virNetworkPortPlugTypeFromString(plugtype)) < 0) {
|
||||||
virReportError(VIR_ERR_XML_ERROR,
|
virReportError(VIR_ERR_XML_ERROR,
|
||||||
_("Invalid network prt plug type '%s'"), plugtype);
|
_("Invalid network port plug type '%s'"), plugtype);
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (def->plugtype) {
|
switch (def->plugtype) {
|
||||||
|
Loading…
Reference in New Issue
Block a user