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

Jinhui huang huangjh.jy@cn.fujitsu.com
Tue Apr 2 04:53:26 CEST 2019


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
-- 
1.8.3.1





More information about the ltp mailing list