summaryrefslogtreecommitdiffstats
path: root/plugins/check_load.c
diff options
context:
space:
mode:
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"