[Nagiosplug-checkins] CVS: nagiosplug/plugins check_mrtg.c,1.11,1.12

Karl DeBisschop kdebisschop at users.sourceforge.net
Tue Nov 11 21:49:07 CET 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv30203

Modified Files:
	check_mrtg.c 
Log Message:
clean up compiler warnings

Index: check_mrtg.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_mrtg.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** check_mrtg.c	31 Oct 2003 04:19:03 -0000	1.11
--- check_mrtg.c	12 Nov 2003 05:48:09 -0000	1.12
***************
*** 141,147 ****
  		          (use_average == TRUE) ? _("Avg") : _("Max"),
  		          label, rate, units,
! 		          perfdata(label, rate, units,
! 		                   value_warning_threshold, value_warning_threshold,
! 		                   value_critical_threshold, value_critical_threshold,
  		                   0, 0, 0, 0));
  	}
--- 141,147 ----
  		          (use_average == TRUE) ? _("Avg") : _("Max"),
  		          label, rate, units,
! 		          perfdata(label, (long) rate, units,
! 		                   (int) value_warning_threshold, (long) value_warning_threshold,
! 		                   (int) value_critical_threshold, (long) value_critical_threshold,
  		                   0, 0, 0, 0));
  	}





More information about the Commits mailing list