[nagiosplug] check_fping: Remove unused printf(3) arguments

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Sat Aug 17 23:20:17 CEST 2013


 Module: nagiosplug
 Branch: master
 Commit: baa388e6fa66a231f79365b77c6dbd8dd4c32db7
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Sat Aug 17 23:18:57 2013 +0200
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=baa388e

check_fping: Remove unused printf(3) arguments

---

 plugins/check_fping.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/check_fping.c b/plugins/check_fping.c
index f5b4332..2c3eceb 100644
--- a/plugins/check_fping.c
+++ b/plugins/check_fping.c
@@ -430,9 +430,9 @@ print_help (void)
   printf (" %s\n", "-n, --number=INTEGER");
   printf ("    %s (default: %d)\n", _("number of ICMP packets to send"),PACKET_COUNT);
   printf (" %s\n", "-T, --target-timeout=INTEGER");
-  printf ("    %s (default: fping's default for -t)\n", _("Target timeout (ms)"),PACKET_COUNT);
+  printf ("    %s (default: fping's default for -t)\n", _("Target timeout (ms)"));
   printf (" %s\n", "-i, --interval=INTEGER");
-  printf ("    %s (default: fping's default for -p)\n", _("Interval (ms) between sending packets"),PACKET_COUNT);
+  printf ("    %s (default: fping's default for -p)\n", _("Interval (ms) between sending packets"));
   printf (" %s\n", "-S, --sourceip=HOST");
   printf ("    %s\n", _("name or IP Address of sourceip"));
   printf (" %s\n", "-I, --sourceif=IF");





More information about the Commits mailing list