diff options
Diffstat (limited to 'contrib/check_fping_in.c')
-rw-r--r-- | contrib/check_fping_in.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/check_fping_in.c b/contrib/check_fping_in.c index 50fd5eea..9f844b72 100644 --- a/contrib/check_fping_in.c +++ b/contrib/check_fping_in.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include "popen.h" | 35 | #include "popen.h" |
36 | #include "utils.h" | 36 | #include "utils.h" |
37 | 37 | ||
38 | #define PROGNAME "check_fping" | 38 | const char *progname = "check_fping_in"; |
39 | #define PACKET_COUNT 15 | 39 | #define PACKET_COUNT 15 |
40 | #define PACKET_SIZE 56 | 40 | #define PACKET_SIZE 56 |
41 | #define CRITICAL_COUNT 2 | 41 | #define CRITICAL_COUNT 2 |
@@ -379,7 +379,7 @@ int process_arguments(int argc, char **argv) | |||
379 | 379 | ||
380 | void print_usage(void) | 380 | void print_usage(void) |
381 | { | 381 | { |
382 | printf("Usage: %s <host_address> <host_address> [<host_address>] ...\n",PROGNAME); | 382 | printf("Usage: %s <host_address> <host_address> [<host_address>] ...\n",progname); |
383 | } | 383 | } |
384 | 384 | ||
385 | 385 | ||
@@ -389,7 +389,7 @@ void print_usage(void) | |||
389 | void print_help(void) | 389 | void print_help(void) |
390 | { | 390 | { |
391 | 391 | ||
392 | print_revision(PROGNAME,"$Revision$"); | 392 | print_revision(progname,"$Revision$"); |
393 | 393 | ||
394 | printf | 394 | printf |
395 | ("Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at)\n" | 395 | ("Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at)\n" |