From c424d576c6eda175f1421ee0f7d7b48770087a54 Mon Sep 17 00:00:00 2001 From: Bobbi Webber-Manners Date: Mon, 25 May 2020 21:13:18 -0400 Subject: [PATCH] Fix printing of newline for errors --- sortdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);