On 18/12/2015 13:21, Daniel P. Berrange wrote:
> +
> +        if (nfds > SOCKET_MAX_FDS) {
> +            error_setg_errno(errp, -EINVAL,
> +                             "Only %d FDs can be sent, got %zu",
> +                             SOCKET_MAX_FDS, nfds);
> +            return -1;
> +        }

Hi Daniel,

the second argument here should be positive (s/-EINVAL/EINVAL).

Paolo

Reply via email to