[libvirt] [PATCH]conf: fix incorrect error log in virCPUDefIsEqual

Michal Privoznik mprivozn at redhat.com
Thu Nov 7 11:05:47 UTC 2013


On 07.11.2013 04:31, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
> 
> A copy-paste error.
> s/model/vendor id
> 
> Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
> ---
>  src/conf/cpu_conf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/conf/cpu_conf.c b/src/conf/cpu_conf.c
> index 5deb325..c4917b8 100644
> --- a/src/conf/cpu_conf.c
> +++ b/src/conf/cpu_conf.c
> @@ -767,7 +767,7 @@ virCPUDefIsEqual(virCPUDefPtr src,
>  
>      if (STRNEQ_NULLABLE(src->vendor_id, dst->vendor_id)) {
>          virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
> -                       _("Target CPU model %s does not match source %s"),
> +                       _("Target CPU vendor id %s does not match source %s"),
>                         NULLSTR(dst->vendor_id), NULLSTR(src->vendor_id));
>          goto cleanup;
>      }
> 

ACKed and pushed.

Michal




More information about the libvir-list mailing list