From 2474643b10d87248a9c1905b7c7deae8f74acc38 Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Sat, 22 Mar 2003 13:23:28 +0000 Subject: [PATCH] declaration must precede printf git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@446 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) 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); -- 2.30.2