From 08d3e239e8870e16571401952db9b9245c2345de Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 9 Dec 2020 12:56:41 +0100 Subject: Added segfault report log with arguments --- helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helper.c') diff --git a/helper.c b/helper.c index 06781b1..d30adda 100644 --- a/helper.c +++ b/helper.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/08 03:07:07 by cacharle #+# #+# */ -/* Updated: 2020/04/13 15:01:20 by charles ### ########.fr */ +/* Updated: 2020/12/09 12:52:33 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -18,8 +18,8 @@ void print_ok(void) fflush(stdout); } -void print_signaled_ko(void) +void print_signaled_ko(const char *code) { - printf("KO: [SEGFAULT]: %s\n", test_name); + printf("KO: [SEGFAULT]: %s: with: %s\n", test_name, code); fflush(stdout); } -- cgit