[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 3/3] Remove wrong check for uml monitor response size



On 08/16/2010 03:37 AM, Soren Hansen wrote:
>          nbytes = recvfrom(priv->monitor, &res, sizeof res, 0,
>                            (struct sockaddr *)&addr, &addrlen);
> +        VIR_DEBUG("nbytes: %d", nbytes);

User error, not a kernel bug.  Phew.

%d and ssize_t are not always compatible sizes.

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]