[LTP] [PATCH] syscalls/accept04_01.c: Correcting ltp_syscall to tst_syscall
Xiao Yang
yangx.jy@cn.fujitsu.com
Tue Apr 2 05:33:37 CEST 2019
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
More information about the ltp
mailing list