diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-12-09 12:56:41 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-12-09 12:56:41 +0100 |
| commit | 08d3e239e8870e16571401952db9b9245c2345de (patch) | |
| tree | 13c36a4ea75df2998ca8a03006eb47d1de8e6738 /helper.c | |
| parent | 702390105f4982590b739508df6b7e8b933b0a84 (diff) | |
| download | libasm_test-08d3e239e8870e16571401952db9b9245c2345de.tar.gz libasm_test-08d3e239e8870e16571401952db9b9245c2345de.tar.bz2 libasm_test-08d3e239e8870e16571401952db9b9245c2345de.zip | |
Added segfault report log with arguments
Diffstat (limited to 'helper.c')
| -rw-r--r-- | helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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); } |
