[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] vhost-user: add missing space in error message
From: |
Laurent Vivier |
Subject: |
Re: [PATCH] vhost-user: add missing space in error message |
Date: |
Fri, 6 Aug 2021 17:28:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
Le 06/08/2021 à 16:39, Alyssa Ross a écrit :
> This would previously give error messages like
>
>> Received unexpected msg type.Expected 0 received 1
>
> Signed-off-by: Alyssa Ross <hi@alyssa.is>
> ---
> hw/virtio/vhost-user.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c
> index 29ea2b4fce..ad9fc40271 100644
> --- a/hw/virtio/vhost-user.c
> +++ b/hw/virtio/vhost-user.c
> @@ -429,7 +429,7 @@ static int process_message_reply(struct vhost_dev *dev,
> }
>
> if (msg_reply.hdr.request != msg->hdr.request) {
> - error_report("Received unexpected msg type."
> + error_report("Received unexpected msg type. "
> "Expected %d received %d",
> msg->hdr.request, msg_reply.hdr.request);
> return -1;
>
> base-commit: bccabb3a5d60182645c7749e89f21a9ff307a9eb
>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>