Quellcode durchsuchen

Fix bug #1632078: critical threshold % incorrectly displayed by check_icmp

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1569 f882894a-f735-0410-b71e-b25c423dba1c
Thomas Guyot-Sionnest vor 19 Jahren
Ursprung
Commit
79a607391a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      plugins-root/check_icmp.c

+ 1 - 1
plugins-root/check_icmp.c

@@ -1201,7 +1201,7 @@ print_help(void)
   printf ("%0.3fms,%u%%)\n", (float)warn.rta / 1000 , warn.pl / 1000);
   printf ("%0.3fms,%u%%)\n", (float)warn.rta / 1000 , warn.pl / 1000);
   printf (" %s\n", "-c");
   printf (" %s\n", "-c");
   printf ("    %s", _("critical threshold (currently "));
   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\n", "-n");
   printf ("    %s", _("number of packets to send (currently "));
   printf ("    %s", _("number of packets to send (currently "));
   printf ("%u)\n",packets);
   printf ("%u)\n",packets);