summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-10-02 20:55:04 +0200
committerJo-Philipp Wich <jo@mein.io>2020-10-02 20:55:04 +0200
commit93cd8acc739314d37075082c1272f88bbdebe81b (patch)
treef4070ef6bc8aafd0fd8200121ad62eea85e13257 /main.c
parent459d6f199a8e0866a4619826cadae9a23b9efa30 (diff)
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 <jo@mein.io>
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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);
}