[hackers] [scc] Fix die() || Roberto E. Vargas Caballero
commit 5af21c8e9b18e3c7156532f16ec9df02bb1e11bb
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Aug 12 17:30:45 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Aug 12 17:37:36 2015 +0200
Fix die()
Die() was using fprintf() when it had to use vfprintf()
diff --git a/lib/die.c b/lib/die.c
index 974dd2c..1434021 100644
--- a/lib/die.c
+++ b/lib/die.c
_AT_@ -14,7 +14,8 @@ die(const char *fmt, ...)
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);
}
Received on Wed Aug 12 2015 - 17:43:18 CEST
This archive was generated by hypermail 2.3.0
: Wed Aug 12 2015 - 17:48:16 CEST