[libvirt] [PATCH] conf: Fix typo in error msg of virDomainVideoDefValidate

Han Han hhan at redhat.com
Thu Jul 26 13:52:46 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1607825

Fix typo of error msg when 'none' type is not the only video device
defined in VM.

Signed-off-by: Han Han <hhan at redhat.com>
---
 src/conf/domain_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 33b0b4ab68..c2ccbcca91 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -5687,7 +5687,7 @@ virDomainVideoDefValidate(const virDomainVideoDef *video,
         if (def->videos[i]->type == VIR_DOMAIN_VIDEO_TYPE_NONE &&
             def->nvideos > 1) {
             virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                           _("a '%s' video type must be the only video device "
+                           _("a 'none' video type must be the only video device "
                              "defined for the domain"));
             return -1;
         }
-- 
2.18.0




More information about the libvir-list mailing list