[Nagiosplug-checkins] CVS: nagiosplug/plugins utils.c,1.21,1.22
Karl DeBisschop
kdebisschop at users.sourceforge.net
Sat Mar 22 05:24:04 CET 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv6145
Modified Files:
utils.c
Log Message:
declaration must precede printf
Index: utils.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/utils.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** utils.c 19 Mar 2003 13:01:05 -0000 1.21
--- utils.c 22 Mar 2003 13:23:28 -0000 1.22
***************
*** 164,169 ****
die (int result, const char *fmt, ...)
{
- printf ("%s %s: ", sizeof (char) + index(progname, '_'), state_text(result));
va_list ap;
va_start (ap, fmt);
vprintf (fmt, ap);
--- 164,169 ----
die (int result, const char *fmt, ...)
{
va_list ap;
+ printf ("%s %s: ", sizeof (char) + index(progname, '_'), state_text(result));
va_start (ap, fmt);
vprintf (fmt, ap);
More information about the Commits
mailing list