From 6786ae80a301cb8475e6ac08b7a1ddc392246cd8 Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Thu, 6 Mar 2025 12:51:49 +0100 Subject: [PATCH] domain_conf: graphics: fix error messages when formatting XML MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Pavel Hrdina Reviewed-by: Ján Tomko --- 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 fbbc7705e8..278d3bd4e9 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -26470,7 +26470,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; } @@ -26726,7 +26726,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.47.3