shithub: scc

Download patch

ref: 5af21c8e9b18e3c7156532f16ec9df02bb1e11bb
parent: fdbf2edecf2f3eba01c23eee08375d66162e7cce
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Aug 12 13:30:45 EDT 2015

Fix die()

Die() was using fprintf() when it had to use vfprintf()

--- a/lib/die.c
+++ b/lib/die.c
@@ -14,7 +14,8 @@
 	failure = 1;
 	va_list va;
 	va_start(va, fmt);
-	fprintf(stderr, fmt, va);
+	vfprintf(stderr, fmt, va);
+	putc('\n', stderr);
 	va_end(va);
 	exit(1);
 }