summaryrefslogtreecommitdiffstats
path: root/plugins/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/utils.c')
-rw-r--r--plugins/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/utils.c b/plugins/utils.c
index b35b78a..bf36039 100644
--- a/plugins/utils.c
+++ b/plugins/utils.c
@@ -163,8 +163,8 @@ state_text (int result)
163void 163void
164die (int result, const char *fmt, ...) 164die (int result, const char *fmt, ...)
165{ 165{
166 printf ("%s %s: ", sizeof (char) + index(progname, '_'), state_text(result));
167 va_list ap; 166 va_list ap;
167 printf ("%s %s: ", sizeof (char) + index(progname, '_'), state_text(result));
168 va_start (ap, fmt); 168 va_start (ap, fmt);
169 vprintf (fmt, ap); 169 vprintf (fmt, ap);
170 va_end (ap); 170 va_end (ap);