aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/utils.c b/plugins/utils.c
index b35b78af..bf36039e 100644
--- a/plugins/utils.c
+++ b/plugins/utils.c
@@ -163,8 +163,8 @@ state_text (int result)
void
die (int result, const char *fmt, ...)
{
- printf ("%s %s: ", sizeof (char) + index(progname, '_'), state_text(result));
va_list ap;
+ printf ("%s %s: ", sizeof (char) + index(progname, '_'), state_text(result));
va_start (ap, fmt);
vprintf (fmt, ap);
va_end (ap);