aboutsummaryrefslogtreecommitdiff
path: root/strbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'strbuf.c')
-rw-r--r--strbuf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/strbuf.c b/strbuf.c
index 44145dd..208a7be 100644
--- a/strbuf.c
+++ b/strbuf.c
@@ -5,13 +5,14 @@
5 5
6#include "strbuf.h" 6#include "strbuf.h"
7 7
8static void die(const char *format, ...) 8void die(const char *fmt, ...)
9{ 9{
10 va_list arg; 10 va_list arg;
11 11
12 va_start(arg, format); 12 va_start(arg, fmt);
13 vfprintf(stderr, format, arg); 13 vfprintf(stderr, fmt, arg);
14 va_end(arg); 14 va_end(arg);
15 fprintf(stderr, "\n");
15 16
16 exit(-1); 17 exit(-1);
17} 18}