1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 06:50:22 +03:00

domain_conf: graphics: fix error messages when formatting XML

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Pavel Hrdina 2025-03-06 12:51:49 +01:00
parent 1ef5926a80
commit 6786ae80a3

View File

@ -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;
}