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, 2 insertions, 6 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index c815cc7..add9cc8 100644
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
@@ -5,8 +5,6 @@
5* License: GPL 5* License: GPL
6* Copyright (c) 2000-2007 Nagios Plugins Development Team 6* Copyright (c) 2000-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$
9*
10* Description: 8* Description:
11* 9*
12* This file contains the check_hpjd plugin 10* This file contains the check_hpjd plugin
@@ -28,12 +26,10 @@
28* You should have received a copy of the GNU General Public License 26* You should have received a copy of the GNU General Public License
29* along with this program. If not, see <http://www.gnu.org/licenses/>. 27* along with this program. If not, see <http://www.gnu.org/licenses/>.
30* 28*
31* $Id$
32* 29*
33*****************************************************************************/ 30*****************************************************************************/
34 31
35const char *progname = "check_hpjd"; 32const char *progname = "check_hpjd";
36const char *revision = "$Revision$";
37const char *copyright = "2000-2007"; 33const char *copyright = "2000-2007";
38const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const char *email = "nagiosplug-devel@lists.sourceforge.net";
39 35
@@ -346,7 +342,7 @@ process_arguments (int argc, char **argv)
346 community = strscpy (community, optarg); 342 community = strscpy (community, optarg);
347 break; 343 break;
348 case 'V': /* version */ 344 case 'V': /* version */
349 print_revision (progname, revision); 345 print_revision (progname, NP_VERSION);
350 exit (STATE_OK); 346 exit (STATE_OK);
351 case 'h': /* help */ 347 case 'h': /* help */
352 print_help (); 348 print_help ();
@@ -387,7 +383,7 @@ validate_arguments (void)
387void 383void
388print_help (void) 384print_help (void)
389{ 385{
390 print_revision (progname, revision); 386 print_revision (progname, NP_VERSION);
391 387
392 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); 388 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
393 printf (COPYRIGHT, copyright, email); 389 printf (COPYRIGHT, copyright, email);