diff options
Diffstat (limited to 'plugins/check_fping.c')
-rw-r--r-- | plugins/check_fping.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/check_fping.c b/plugins/check_fping.c index 2dba2d58..8647330c 100644 --- a/plugins/check_fping.c +++ b/plugins/check_fping.c | |||
@@ -14,6 +14,8 @@ | |||
14 | along with this program; if not, write to the Free Software | 14 | along with this program; if not, write to the Free Software |
15 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 15 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
16 | 16 | ||
17 | $Id$ | ||
18 | |||
17 | ******************************************************************************/ | 19 | ******************************************************************************/ |
18 | 20 | ||
19 | const char *progname = "check_fping"; | 21 | const char *progname = "check_fping"; |
@@ -66,7 +68,7 @@ main (int argc, char **argv) | |||
66 | textdomain (PACKAGE); | 68 | textdomain (PACKAGE); |
67 | 69 | ||
68 | if (process_arguments (argc, argv) == ERROR) | 70 | if (process_arguments (argc, argv) == ERROR) |
69 | usage (_("Could not parse arguments\n")); | 71 | usage (_("check_fping: could not parse arguments\n")); |
70 | 72 | ||
71 | server = strscpy (server, server_name); | 73 | server = strscpy (server, server_name); |
72 | 74 | ||
@@ -116,7 +118,6 @@ main (int argc, char **argv) | |||
116 | 118 | ||
117 | 119 | ||
118 | 120 | ||
119 | |||
120 | int | 121 | int |
121 | textscan (char *buf) | 122 | textscan (char *buf) |
122 | { | 123 | { |
@@ -195,7 +196,6 @@ textscan (char *buf) | |||
195 | 196 | ||
196 | return status; | 197 | return status; |
197 | } | 198 | } |
198 | |||
199 | 199 | ||
200 | 200 | ||
201 | 201 | ||
@@ -308,8 +308,6 @@ process_arguments (int argc, char **argv) | |||
308 | 308 | ||
309 | 309 | ||
310 | 310 | ||
311 | |||
312 | |||
313 | int | 311 | int |
314 | get_threshold (char *arg, char *rv[2]) | 312 | get_threshold (char *arg, char *rv[2]) |
315 | { | 313 | { |
@@ -352,8 +350,6 @@ get_threshold (char *arg, char *rv[2]) | |||
352 | 350 | ||
353 | 351 | ||
354 | 352 | ||
355 | |||
356 | |||
357 | void | 353 | void |
358 | print_help (void) | 354 | print_help (void) |
359 | { | 355 | { |
@@ -398,7 +394,6 @@ percentage of packet loss to trigger an alarm state.\n")); | |||
398 | 394 | ||
399 | 395 | ||
400 | 396 | ||
401 | |||
402 | void | 397 | void |
403 | print_usage (void) | 398 | print_usage (void) |
404 | { | 399 | { |