Fix printing of newline for errors

This commit is contained in:
Bobbi Webber-Manners 2020-05-25 21:13:18 -04:00
parent e13161567b
commit c424d576c6
1 changed files with 1 additions and 1 deletions

View File

@ -296,8 +296,8 @@ void err(enum errtype severity, char *fmt, ...) {
fputs(((rv > 0) ? " ** " : " "), stdout);
va_start(v, fmt);
vprintf(fmt, v);
putchar('\n');
vprintf(fmt, v);
va_end(v);
if (rv > 0) {
printf("Stopping after %u errors\n", errcount);