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