On 14 June 2016 at 14:07, Laurent Vivier <[email protected]> wrote:
> Reported-by: Peter Maydell <[email protected]>
> Signed-off-by: Laurent Vivier <[email protected]>
> ---
>  linux-user/syscall.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 71ccbd9..0b937ca 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -1688,6 +1688,7 @@ static abi_long target_to_host_for_each_nlmsg(struct 
> nlmsghdr *nlh,
>              struct nlmsgerr *e = NLMSG_DATA(nlh);
>              e->error = tswap32(e->error);
>              tswap_nlmsghdr(&e->msg);
> +            return 0;
>          }
>          default:
>              ret = target_to_host_nlmsg(nlh);
> --
> 2.5.5

Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM

Reply via email to