summaryrefslogtreecommitdiffstats
path: root/plugins/check_hpjd.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_hpjd.c')
-rw-r--r--plugins/check_hpjd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index 42b4bb54..a262fc23 100644
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
@@ -65,7 +65,7 @@
65#include "popen.h" 65#include "popen.h"
66#include "utils.h" 66#include "utils.h"
67 67
68#define PROGNAME "check_hpjd" 68const char *progname = "check_hpjd"
69#define REVISION "$Revision$" 69#define REVISION "$Revision$"
70#define COPYRIGHT "2000-2002" 70#define COPYRIGHT "2000-2002"
71 71
@@ -438,7 +438,7 @@ process_arguments (int argc, char **argv)
438 community = optarg; 438 community = optarg;
439 break; 439 break;
440 case 'V': /* version */ 440 case 'V': /* version */
441 print_revision (PROGNAME, REVISION); 441 print_revision (progname, REVISION);
442 exit (STATE_OK); 442 exit (STATE_OK);
443 case 'h': /* help */ 443 case 'h': /* help */
444 print_help (); 444 print_help ();
@@ -482,7 +482,7 @@ validate_arguments (void)
482void 482void
483print_help (void) 483print_help (void)
484{ 484{
485 print_revision (PROGNAME, REVISION); 485 print_revision (progname, REVISION);
486 printf 486 printf
487 ("Copyright (c) 2000 Ethan Galstad/Karl DeBisschop\n\n" 487 ("Copyright (c) 2000 Ethan Galstad/Karl DeBisschop\n\n"
488 "This plugin tests the STATUS of an HP printer with a JetDirect card.\n" 488 "This plugin tests the STATUS of an HP printer with a JetDirect card.\n"
@@ -510,7 +510,7 @@ print_usage (void)
510 printf 510 printf
511 ("Usage: %s -H host [-C community]\n" 511 ("Usage: %s -H host [-C community]\n"
512 " %s --help\n" 512 " %s --help\n"
513 " %s --version\n", PROGNAME, PROGNAME, PROGNAME); 513 " %s --version\n", progname, progname, progname);
514} 514}
515 515
516 516