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