All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Wang <liwang@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 1/2] Fix formatting signal name in tst_strstatus()
Date: Fri, 25 Sep 2020 11:20:02 +0800	[thread overview]
Message-ID: <CAEemH2c4GRVPkNHS91dOLY-r417RpEGi5GC+izEY1P7w+kLkqw@mail.gmail.com> (raw)
In-Reply-To: <20200924144246.12750-1-mdoucha@suse.cz>

On Thu, Sep 24, 2020 at 10:43 PM Martin Doucha <mdoucha@suse.cz> wrote:

> Signed-off-by: Martin Doucha <mdoucha@suse.cz>
>
Acked-by: Li Wang <liwang@redhat.com>


> ---
>  lib/tst_status.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lib/tst_status.c b/lib/tst_status.c
> index f1affeac5..9124faaa3 100644
> --- a/lib/tst_status.c
> +++ b/lib/tst_status.c
> @@ -20,7 +20,8 @@ const char *exited(int status)
>
>  const char *signaled(int status)
>  {
> -       snprintf(buf, sizeof(buf), "killed by %s", tst_strsig(status));
> +       snprintf(buf, sizeof(buf), "killed by %s",
> +               tst_strsig(WTERMSIG(status)));
>
>         return buf;
>  }
> --
> 2.28.0
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
>

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200925/f5923914/attachment.htm>

  parent reply	other threads:[~2020-09-25  3:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24 14:42 [LTP] [PATCH 1/2] Fix formatting signal name in tst_strstatus() Martin Doucha
2020-09-24 14:42 ` [LTP] [PATCH 2/2] mmap18: Increase minimal stack mapping to 8KB Martin Doucha
2020-09-25 10:12   ` Li Wang
2020-09-25 12:34   ` Cyril Hrubis
2020-09-25  3:20 ` Li Wang [this message]
2020-09-25 12:24 ` [LTP] [PATCH 1/2] Fix formatting signal name in tst_strstatus() Cyril Hrubis

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=CAEemH2c4GRVPkNHS91dOLY-r417RpEGi5GC+izEY1P7w+kLkqw@mail.gmail.com \
    --to=liwang@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.