[PATCH 02/12] virNetworkPortDefParseXML: Fix a typo in an error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux