[Nagiosplug-checkins] nagiosplug/plugins-root check_icmp.c, 1.8, 1.9

Thomas Guyot dermoth at users.sourceforge.net
Sat Jan 20 07:27:19 CET 2007


Update of /cvsroot/nagiosplug/nagiosplug/plugins-root
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv21754/plugins-root

Modified Files:
	check_icmp.c 
Log Message:
Fix bug #1632078: critical threshold % incorrectly displayed by check_icmp


Index: check_icmp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-root/check_icmp.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- check_icmp.c	24 Oct 2006 21:54:06 -0000	1.8
+++ check_icmp.c	20 Jan 2007 06:27:17 -0000	1.9
@@ -1201,7 +1201,7 @@
   printf ("%0.3fms,%u%%)\n", (float)warn.rta / 1000 , warn.pl / 1000);
   printf (" %s\n", "-c");
   printf ("    %s", _("critical threshold (currently "));
-  printf ("%0.3fms,%u%%)\n", (float)crit.rta), crit.pl;
+  printf ("%0.3fms,%u%%)\n", (float)crit.rta, crit.pl);
   printf (" %s\n", "-n");
   printf ("    %s", _("number of packets to send (currently "));
   printf ("%u)\n",packets);





More information about the Commits mailing list