From 93cd8acc739314d37075082c1272f88bbdebe81b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 2 Oct 2020 20:55:04 +0200 Subject: lib: tweak error context formatting Do not emit additional newline when formatting error context and print it instead when outputting the exception. Signed-off-by: Jo-Philipp Wich --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 5a80ec7..725148f 100644 --- a/main.c +++ b/main.c @@ -177,7 +177,7 @@ parse(struct ut_state *state, const char *source, bool dumponly, if (err) { msg = ut_format_error(state, source); - fprintf(stderr, "%s\n", msg); + fprintf(stderr, "%s\n\n", msg); free(msg); } -- cgit v1.2.3