<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 24, 2020 at 10:43 PM Martin Doucha <<a href="mailto:mdoucha@suse.cz">mdoucha@suse.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Martin Doucha <<a href="mailto:mdoucha@suse.cz" target="_blank">mdoucha@suse.cz</a>><br></blockquote><div><span class="gmail_default" style="font-size:small">Acked-by: Li Wang <<a href="mailto:liwang@redhat.com">liwang@redhat.com</a>></span></div><div><span class="gmail_default" style="font-size:small"></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
lib/tst_status.c | 3 ++-<br>
1 file changed, 2 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/lib/tst_status.c b/lib/tst_status.c<br>
index f1affeac5..9124faaa3 100644<br>
--- a/lib/tst_status.c<br>
+++ b/lib/tst_status.c<br>
@@ -20,7 +20,8 @@ const char *exited(int status)<br>
<br>
const char *signaled(int status)<br>
{<br>
- snprintf(buf, sizeof(buf), "killed by %s", tst_strsig(status));<br>
+ snprintf(buf, sizeof(buf), "killed by %s",<br>
+ tst_strsig(WTERMSIG(status)));<br>
<br>
return buf;<br>
}<br>
-- <br>
2.28.0<br>
<br>
<br>
-- <br>
Mailing list info: <a href="https://lists.linux.it/listinfo/ltp" rel="noreferrer" target="_blank">https://lists.linux.it/listinfo/ltp</a><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>