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

Erik Skultety eskultet at redhat.com
Thu Jul 26 14:11:34 UTC 2018


On Thu, Jul 26, 2018 at 09:52:46PM +0800, Han Han wrote:
> 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>
> ---

I tweaked the commit message and pushed.

Thanks,
Erik

>  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
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list




More information about the libvir-list mailing list