public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Xiao Yang <yangx.jy@cn.fujitsu.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] syscalls/accept04_01.c: Correcting ltp_syscall to tst_syscall
Date: Tue, 2 Apr 2019 11:33:37 +0800	[thread overview]
Message-ID: <5CA2D811.2040708@cn.fujitsu.com> (raw)
In-Reply-To: <1554173606-20291-1-git-send-email-huangjh.jy@cn.fujitsu.com>

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




  reply	other threads:[~2019-04-02  3:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-02  2:53 [LTP] [PATCH] syscalls/accept04_01.c: Correcting ltp_syscall to tst_syscall Jinhui huang
2019-04-02  3:33 ` Xiao Yang [this message]
2019-04-03 11:02 ` Xiao Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5CA2D811.2040708@cn.fujitsu.com \
    --to=yangx.jy@cn.fujitsu.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox