[LTP] [PATCH] signalfd01.c: put the right round bracket to the right place in tst_resm
Richard Palethorpe
rpalethorpe@suse.de
Tue Dec 13 11:46:32 CET 2022
Hello,
The patch is perfect, but you need to add your Signed-off-by git trailer
to the commit (or just respond this e-mail with it).
zijunzhao via ltp <ltp@lists.linux.it> writes:
> ---
> testcases/kernel/syscalls/signalfd/signalfd01.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/testcases/kernel/syscalls/signalfd/signalfd01.c b/testcases/kernel/syscalls/signalfd/signalfd01.c
> index 3df941785..c6a7c3a58 100644
> --- a/testcases/kernel/syscalls/signalfd/signalfd01.c
> +++ b/testcases/kernel/syscalls/signalfd/signalfd01.c
> @@ -249,8 +249,7 @@ void do_test2(int fd, uint32_t sig)
> goto out;
> } else {
> tst_resm(TFAIL, "got unexpected signal: signal=%d : %s",
> - fdsi.ssi_signo),
> - strsignal(fdsi.ssi_signo);
> + fdsi.ssi_signo, strsignal(fdsi.ssi_signo));
> goto out;
> }
>
> --
> 2.39.0.rc1.256.g54fd8350bd-goog
--
Thank you,
Richard.
More information about the ltp
mailing list