diff --git a/sortdir.c b/sortdir.c index 1ad7385..f85f4a9 100644 --- a/sortdir.c +++ b/sortdir.c @@ -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);