[LTP] [PATCH] syscalls/recvmmsg01.c: Fix a compiler error

Jan Stancek jstancek@redhat.com
Wed Sep 23 12:02:26 CEST 2020



----- Original Message -----
> Use correct ts.type to fix the following compiler error:
> --------------------------------------------
> recvmmsg01.c:86:9: error: request for member ‘type’ in something not a
> structure or union
>   timeout.type = tv->ts_type;
> --------------------------------------------
> 
> Fixes: 135af8ededd4 ("syscalls/{send|recv}mmsg: add a test case for timeout
> and errno test")
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>

Acked-by: Jan Stancek <jstancek@redhat.com>



More information about the ltp mailing list