summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib.c2
-rw-r--r--main.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/lib.c b/lib.c
index 1c06da0..9df8a62 100644
--- a/lib.c
+++ b/lib.c
@@ -125,8 +125,6 @@ format_error_context(char **msg, size_t *msglen, const char *path, const char *e
sprintf_append(msg, msglen, "^\n");
}
-
- sprintf_append(msg, msglen, "\n");
}
char *
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);
}