[libvirt PATCH 15/16] domain_conf: graphics: fix error messages when formatting XML

Pavel Hrdina posted 16 patches 6 days ago
[libvirt PATCH 15/16] domain_conf: graphics: fix error messages when formatting XML
Posted by Pavel Hrdina 6 days ago
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
---
 src/conf/domain_conf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 27323ea768..6bb30c6f22 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -26433,7 +26433,7 @@ virDomainGraphicsDefFormatVNC(virBuffer *attrBuf,
 
     if (!glisten) {
         virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                       _("missing listen element for graphics"));
+                       _("missing listen element for VNC graphics"));
         return -1;
     }
 
@@ -26689,7 +26689,7 @@ virDomainGraphicsDefFormat(virBuffer *buf,
 
     if (!type) {
         virReportError(VIR_ERR_INTERNAL_ERROR,
-                       _("unexpected net type %1$d"), def->type);
+                       _("unexpected graphics type '%1$d'"), def->type);
         return -1;
     }
 
-- 
2.48.1