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 @@ #include "popen.h" #include "utils.h" -#define PROGNAME "check_fping" +const char *progname = "check_fping_in"; #define PACKET_COUNT 15 #define PACKET_SIZE 56 #define CRITICAL_COUNT 2 @@ -379,7 +379,7 @@ int process_arguments(int argc, char **argv) void print_usage(void) { - printf("Usage: %s <host_address> <host_address> [<host_address>] ...\n",PROGNAME); + printf("Usage: %s <host_address> <host_address> [<host_address>] ...\n",progname); } @@ -389,7 +389,7 @@ void print_usage(void) void print_help(void) { - print_revision(PROGNAME,"$Revision$"); + print_revision(progname,"$Revision$"); printf ("Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at)\n" |