diff mbox series

vfio-ccw: Fix error message

Message ID 20191128143015.5231-1-fiuczy@linux.ibm.com (mailing list archive)
State New, archived
Headers show
Series vfio-ccw: Fix error message | expand

Commit Message

Boris Fiuczynski Nov. 28, 2019, 2:30 p.m. UTC
Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
---
 hw/vfio/ccw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Philippe Mathieu-Daudé Nov. 28, 2019, 2:54 p.m. UTC | #1
On 11/28/19 3:30 PM, Boris Fiuczynski wrote:
> Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
> Reviewed-by: Eric Farman <farman@linux.ibm.com>
> ---
>   hw/vfio/ccw.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/vfio/ccw.c b/hw/vfio/ccw.c
> index 6863f6c69f..3b5520ae75 100644
> --- a/hw/vfio/ccw.c
> +++ b/hw/vfio/ccw.c
> @@ -102,7 +102,7 @@ again:
>           if (errno == EAGAIN) {
>               goto again;
>           }
> -        error_report("vfio-ccw: wirte I/O region failed with errno=%d", errno);
> +        error_report("vfio-ccw: write I/O region failed with errno=%d", errno);
>           ret = -errno;
>       } else {
>           ret = region->ret_code;
> 

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Cornelia Huck Nov. 28, 2019, 5:22 p.m. UTC | #2
On Thu, 28 Nov 2019 15:30:14 +0100
Boris Fiuczynski <fiuczy@linux.ibm.com> wrote:

> Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
> Reviewed-by: Eric Farman <farman@linux.ibm.com>
> ---
>  hw/vfio/ccw.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/vfio/ccw.c b/hw/vfio/ccw.c
> index 6863f6c69f..3b5520ae75 100644
> --- a/hw/vfio/ccw.c
> +++ b/hw/vfio/ccw.c
> @@ -102,7 +102,7 @@ again:
>          if (errno == EAGAIN) {
>              goto again;
>          }
> -        error_report("vfio-ccw: wirte I/O region failed with errno=%d", errno);
> +        error_report("vfio-ccw: write I/O region failed with errno=%d", errno);
>          ret = -errno;
>      } else {
>          ret = region->ret_code;

Heh, that's a long-standing one :)

Thanks, applied.
diff mbox series

Patch

diff --git a/hw/vfio/ccw.c b/hw/vfio/ccw.c
index 6863f6c69f..3b5520ae75 100644
--- a/hw/vfio/ccw.c
+++ b/hw/vfio/ccw.c
@@ -102,7 +102,7 @@  again:
         if (errno == EAGAIN) {
             goto again;
         }
-        error_report("vfio-ccw: wirte I/O region failed with errno=%d", errno);
+        error_report("vfio-ccw: write I/O region failed with errno=%d", errno);
         ret = -errno;
     } else {
         ret = region->ret_code;