diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-01-13 12:21:51 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-01-13 12:21:51 +0000 |
commit | 7f7188e8de0a21d7846d0b0abcaa9fd38208ffbc (patch) | |
tree | ab6a39da587c49d6261eafcd7b2e0ccde74f26a0 /contrib/check_fping_in.c | |
parent | 0c3386274ef5002dffc20337ef02407f24d7400c (diff) | |
download | monitoring-plugins-7f7188e8de0a21d7846d0b0abcaa9fd38208ffbc.tar.gz |
convert PROGANE from a define to a const char
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@239 f882894a-f735-0410-b71e-b25c423dba1c
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" |