render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
51d9a2
From d10524fd3934bf539b38599eb928b26089d17b52 Mon Sep 17 00:00:00 2001
51d9a2
Message-Id: <d10524fd3934bf539b38599eb928b26089d17b52@dist-git>
51d9a2
From: Han Han <hhan@redhat.com>
51d9a2
Date: Tue, 31 Jul 2018 10:42:27 +0200
51d9a2
Subject: [PATCH] conf: Fix a error msg typo in virDomainVideoDefValidate
51d9a2
51d9a2
https://bugzilla.redhat.com/show_bug.cgi?id=1607825
51d9a2
51d9a2
Introduced by commit d48813e8.
51d9a2
51d9a2
Signed-off-by: Han Han <hhan@redhat.com>
51d9a2
Reviewed-by: Erik Skultety <eskultet@redhat.com>
51d9a2
(cherry picked from commit d1c4480390da7243e37daee37f8a40cb439a6a7c)
51d9a2
Signed-off-by: Erik Skultety <eskultet@redhat.com>
51d9a2
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
51d9a2
---
51d9a2
 src/conf/domain_conf.c | 2 +-
51d9a2
 1 file changed, 1 insertion(+), 1 deletion(-)
51d9a2
51d9a2
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
51d9a2
index 23288aa01b..a05aad056d 100644
51d9a2
--- a/src/conf/domain_conf.c
51d9a2
+++ b/src/conf/domain_conf.c
51d9a2
@@ -5697,7 +5697,7 @@ virDomainVideoDefValidate(const virDomainVideoDef *video,
51d9a2
         if (def->videos[i]->type == VIR_DOMAIN_VIDEO_TYPE_NONE &&
51d9a2
             def->nvideos > 1) {
51d9a2
             virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
51d9a2
-                           _("a '%s' video type must be the only video device "
51d9a2
+                           _("a 'none' video type must be the only video device "
51d9a2
                              "defined for the domain"));
51d9a2
             return -1;
51d9a2
         }
51d9a2
-- 
51d9a2
2.18.0
51d9a2