render / rpms / libvirt

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