[LTP] [PATCH] syscalls/accept04_01.c: Correcting ltp_syscall to tst_syscall

Xiao Yang
2019-04-02T03:33:37Z

Hi Jinhui,

Good catch. LGTM
Reviewed-by: Xiao Yang <yangx.jy@cn.fujitsu.com>

Best regards,
Xiao Yang
On 2019/04/02 10:53, Jinhui huang wrote:
> Signed-off-by: Jinhui huang <huangjh.jy@cn.fujitsu.com>
> ---
> testcases/kernel/syscalls/accept4/accept4_01.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/testcases/kernel/syscalls/accept4/accept4_01.c b/testcases/kernel/syscalls/accept4/accept4_01.c
> index c423b2a..dd289cf 100644
> --- a/testcases/kernel/syscalls/accept4/accept4_01.c
> +++ b/testcases/kernel/syscalls/accept4/accept4_01.c
> @@ -50,9 +50,9 @@ accept4_01(int fd, struct sockaddr *sockaddr, socklen_t *addrlen, int flags)
> args[2] = (long)addrlen;
> args[3] = flags;
>
> - return ltp_syscall(__NR_socketcall, SYS_ACCEPT4, args);
> + return tst_syscall(__NR_socketcall, SYS_ACCEPT4, args);
> #else
> - return ltp_syscall(__NR_accept4, fd, sockaddr, addrlen, flags);
> + return tst_syscall(__NR_accept4, fd, sockaddr, addrlen, flags);
> #endif
> }
> #endif