summaryrefslogtreecommitdiffstats
path: root/plugins/check_load.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-01-13 12:15:16 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-01-13 12:15:16 +0000
commit0c3386274ef5002dffc20337ef02407f24d7400c (patch)
tree1e78bac7844a548e56a642b35acfe1fd67342f71 /plugins/check_load.c
parentde5650f28e4e43a7264913953f95a75d8afe23f0 (diff)
downloadmonitoring-plugins-0c3386274ef5002dffc20337ef02407f24d7400c.tar.gz
convert PROGANE from a define to a const char
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@238 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_load.c')
-rw-r--r--plugins/check_load.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c
index 5caffbe8..896e356b 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -44,7 +44,7 @@
44 44
45#endif 45#endif
46 46
47#define PROGNAME "check_load" 47const char *progname = "check_load";
48 48
49int process_arguments (int argc, char **argv); 49int process_arguments (int argc, char **argv);
50int validate_arguments (void); 50int validate_arguments (void);
@@ -212,7 +212,7 @@ process_arguments (int argc, char **argv)
212 usage ("Critical threshold must be float or float triplet!\n"); 212 usage ("Critical threshold must be float or float triplet!\n");
213 break; 213 break;
214 case 'V': /* version */ 214 case 'V': /* version */
215 print_revision (my_basename (argv[0]), "$Revision$"); 215 print_revision (progname, "$Revision$");
216 exit (STATE_OK); 216 exit (STATE_OK);
217 case 'h': /* help */ 217 case 'h': /* help */
218 print_help (); 218 print_help ();
@@ -303,7 +303,7 @@ print_usage (void)
303void 303void
304print_help (void) 304print_help (void)
305{ 305{
306 print_revision (PROGNAME, "$Revision$"); 306 print_revision (progname, "$Revision$");
307 printf 307 printf
308 ("Copyright (c) 1999 Felipe Gustavo de Almeida <galmeida@linux.ime.usp.br>\n" 308 ("Copyright (c) 1999 Felipe Gustavo de Almeida <galmeida@linux.ime.usp.br>\n"
309 "Copyright (c) 2000 Karl DeBisschop\n\n" 309 "Copyright (c) 2000 Karl DeBisschop\n\n"