summaryrefslogtreecommitdiffstats
path: root/plugins/check_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_time.c')
-rw-r--r--plugins/check_time.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_time.c b/plugins/check_time.c
index c7405f6..e4bd26d 100644
--- a/plugins/check_time.c
+++ b/plugins/check_time.c
@@ -39,7 +39,7 @@
39#include "netutils.h" 39#include "netutils.h"
40#include "utils.h" 40#include "utils.h"
41 41
42#define PROGNAME "check_time" 42const char *progname = "check_time";
43#define REVISION "$Revision$" 43#define REVISION "$Revision$"
44#define COPYRIGHT "1999-2002" 44#define COPYRIGHT "1999-2002"
45#define AUTHOR "Ethan Galstad" 45#define AUTHOR "Ethan Galstad"
@@ -209,7 +209,7 @@ process_arguments (int argc, char **argv)
209 print_help (); 209 print_help ();
210 exit (STATE_OK); 210 exit (STATE_OK);
211 case 'V': /* version */ 211 case 'V': /* version */
212 print_revision (PROGNAME, REVISION); 212 print_revision (progname, REVISION);
213 exit (STATE_OK); 213 exit (STATE_OK);
214 case 'H': /* hostname */ 214 case 'H': /* hostname */
215 if (is_host (optarg) == FALSE) 215 if (is_host (optarg) == FALSE)
@@ -306,7 +306,7 @@ print_usage (void)
306 " [-W connect_time] [-C connect_time] [-t timeout]\n" 306 " [-W connect_time] [-C connect_time] [-t timeout]\n"
307 " %s (-h | --help) for detailed help\n" 307 " %s (-h | --help) for detailed help\n"
308 " %s (-V | --version) for version information\n", 308 " %s (-V | --version) for version information\n",
309 PROGNAME, PROGNAME, PROGNAME); 309 progname, progname, progname);
310} 310}
311 311
312 312
@@ -316,7 +316,7 @@ print_usage (void)
316void 316void
317print_help (void) 317print_help (void)
318{ 318{
319 print_revision (PROGNAME, REVISION); 319 print_revision (progname, REVISION);
320 printf 320 printf
321 ("Copyright (c) %s %s <%s>\n\n%s\n", 321 ("Copyright (c) %s %s <%s>\n\n%s\n",
322 COPYRIGHT, AUTHOR, EMAIL, SUMMARY); 322 COPYRIGHT, AUTHOR, EMAIL, SUMMARY);