On 09/03/2016 18:28, Daniel P. Berrange wrote:
> diff --git a/util/oslib-win32.c b/util/oslib-win32.c
> index b8c9cbe..77db075 100644
> --- a/util/oslib-win32.c
> +++ b/util/oslib-win32.c
> @@ -124,13 +124,13 @@ void qemu_set_block(int fd)
>  {
>      unsigned long opt = 0;
>      WSAEventSelect(fd, NULL, 0);
> -    ioctlsocket(fd, FIONBIO, &opt);
> +    ioctl(fd, FIONBIO, &opt);
>  }
>  
>  void qemu_set_nonblock(int fd)
>  {
>      unsigned long opt = 1;
> -    ioctlsocket(fd, FIONBIO, &opt);
> +    ioctl(fd, FIONBIO, &opt);
>      qemu_fd_register(fd);
>  }

These should have been in patch 18, but see my answer to patch 17.

Paolo

Reply via email to