All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/2] Fix formatting signal name in tst_strstatus()
@ 2020-09-24 14:42 Martin Doucha
  2020-09-24 14:42 ` [LTP] [PATCH 2/2] mmap18: Increase minimal stack mapping to 8KB Martin Doucha
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Martin Doucha @ 2020-09-24 14:42 UTC (permalink / raw)
  To: ltp

Signed-off-by: Martin Doucha <mdoucha@suse.cz>
---
 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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-25 12:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [LTP] [PATCH 1/2] Fix formatting signal name in tst_strstatus() Li Wang
2020-09-25 12:24 ` Cyril Hrubis

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.