summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dae5606)
raw | patch | inline | side by side (parent: dae5606)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Sat, 22 Mar 2003 13:23:28 +0000 (13:23 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Sat, 22 Mar 2003 13:23:28 +0000 (13:23 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@446 f882894a-f735-0410-b71e-b25c423dba1c
plugins/utils.c | patch | blob | history |
diff --git a/plugins/utils.c b/plugins/utils.c
index b35b78af9c4a0842b31b0325f4e7469a42084113..bf36039e520d87a7d3730839b552dc25d9d5ecb8 100644 (file)
--- a/plugins/utils.c
+++ b/plugins/utils.c
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);