]> xenbits.xensource.com Git - libvirt.git/commitdiff
conf: Fix a error msg typo in virDomainVideoDefValidate
authorHan Han <hhan@redhat.com>
Thu, 26 Jul 2018 13:52:46 +0000 (21:52 +0800)
committerErik Skultety <eskultet@redhat.com>
Thu, 26 Jul 2018 14:05:59 +0000 (16:05 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=1607825

Introduced by commit d48813e8.

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/conf/domain_conf.c

index 33b0b4ab683e474a5f6bb1c023139b8261b7d736..c2ccbcca914dbefa85e3cf8ab4654b08a70782a0 100644 (file)
@@ -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;
         }