diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-03-22 13:23:28 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-03-22 13:23:28 +0000 |
commit | 2474643b10d87248a9c1905b7c7deae8f74acc38 (patch) | |
tree | 0317518d05927590c73dd148a91f143e42807ba2 /plugins/utils.c | |
parent | dae56061fcd5534886863865e47359662f4bc55b (diff) | |
download | monitoring-plugins-2474643b10d87248a9c1905b7c7deae8f74acc38.tar.gz |
declaration must precede printf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@446 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/utils.c')
-rw-r--r-- | plugins/utils.c | 2 |
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); |