diff options
Diffstat (limited to 'plugins/check_radius.c')
-rw-r--r-- | plugins/check_radius.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_radius.c b/plugins/check_radius.c index c346dc77..0762896b 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c | |||
@@ -23,7 +23,7 @@ | |||
23 | * | 23 | * |
24 | *****************************************************************************/ | 24 | *****************************************************************************/ |
25 | 25 | ||
26 | #define PROGNAME "check_radius" | 26 | const char *progname = "check_radius" |
27 | #define REVISION "$Revision$" | 27 | #define REVISION "$Revision$" |
28 | #define COPYRIGHT "1999-2001" | 28 | #define COPYRIGHT "1999-2001" |
29 | #define AUTHORS "Robert August Vincent II/Karl DeBisschop" | 29 | #define AUTHORS "Robert August Vincent II/Karl DeBisschop" |
@@ -112,7 +112,7 @@ Please note that all tags must be lowercase to use the DocBook XML DTD. | |||
112 | <manvolnum>5<manvolnum> | 112 | <manvolnum>5<manvolnum> |
113 | </refmeta> | 113 | </refmeta> |
114 | <refnamdiv> | 114 | <refnamdiv> |
115 | <refname>&PROGNAME;</refname> | 115 | <refname>&progname;</refname> |
116 | <refpurpose>&SUMMARY;</refpurpose> | 116 | <refpurpose>&SUMMARY;</refpurpose> |
117 | </refnamdiv> | 117 | </refnamdiv> |
118 | </refentry> | 118 | </refentry> |
@@ -264,14 +264,14 @@ process_arguments (int argc, char **argv) | |||
264 | 264 | ||
265 | switch (c) { | 265 | switch (c) { |
266 | case '?': /* print short usage statement if args not parsable */ | 266 | case '?': /* print short usage statement if args not parsable */ |
267 | printf ("%s: Unknown argument: %s\n\n", my_basename (argv[0]), optarg); | 267 | printf ("%s: Unknown argument: %s\n\n", progname, optarg); |
268 | print_usage (); | 268 | print_usage (); |
269 | exit (STATE_UNKNOWN); | 269 | exit (STATE_UNKNOWN); |
270 | case 'h': /* help */ | 270 | case 'h': /* help */ |
271 | print_help (); | 271 | print_help (); |
272 | exit (OK); | 272 | exit (OK); |
273 | case 'V': /* version */ | 273 | case 'V': /* version */ |
274 | print_revision (my_basename (argv[0]), "$Revision$"); | 274 | print_revision (progname, "$Revision$"); |
275 | exit (OK); | 275 | exit (OK); |
276 | case 'v': /* verbose mode */ | 276 | case 'v': /* verbose mode */ |
277 | verbose = TRUE; | 277 | verbose = TRUE; |
@@ -324,7 +324,7 @@ process_arguments (int argc, char **argv) | |||
324 | void | 324 | void |
325 | print_help (void) | 325 | print_help (void) |
326 | { | 326 | { |
327 | print_revision (PROGNAME, REVISION); | 327 | print_revision (progname, REVISION); |
328 | printf | 328 | printf |
329 | ("Copyright (c) %s %s <%s>\n\n%s\n", | 329 | ("Copyright (c) %s %s <%s>\n\n%s\n", |
330 | COPYRIGHT, AUTHORS, EMAIL, SUMMARY); | 330 | COPYRIGHT, AUTHORS, EMAIL, SUMMARY); |
@@ -347,5 +347,5 @@ print_usage (void) | |||
347 | " %s -h for detailed help\n" | 347 | " %s -h for detailed help\n" |
348 | " %s -V for version information\n", | 348 | " %s -V for version information\n", |
349 | #endif | 349 | #endif |
350 | PROGNAME, OPTIONS, PROGNAME, PROGNAME); | 350 | progname, OPTIONS, progname, progname); |
351 | } | 351 | } |