summaryrefslogtreecommitdiffstats
path: root/plugins/check_nagios.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_nagios.c')
-rw-r--r--plugins/check_nagios.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c
index a2debe2..954ff71 100644
--- a/plugins/check_nagios.c
+++ b/plugins/check_nagios.c
@@ -5,8 +5,6 @@
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2007 Nagios Plugins Development Team 6* Copyright (c) 1999-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$
9*
10* Description: 8* Description:
11* 9*
12* This file contains the check_nagios plugin 10* This file contains the check_nagios plugin
@@ -31,12 +29,10 @@
31* You should have received a copy of the GNU General Public License 29* You should have received a copy of the GNU General Public License
32* along with this program. If not, see <http://www.gnu.org/licenses/>. 30* along with this program. If not, see <http://www.gnu.org/licenses/>.
33* 31*
34* $Id$
35* 32*
36*****************************************************************************/ 33*****************************************************************************/
37 34
38const char *progname = "check_nagios"; 35const char *progname = "check_nagios";
39const char *revision = "$Revision$";
40const char *copyright = "1999-2007"; 36const char *copyright = "1999-2007";
41const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const char *email = "nagiosplug-devel@lists.sourceforge.net";
42 38
@@ -240,7 +236,7 @@ process_arguments (int argc, char **argv)
240 print_help (); 236 print_help ();
241 exit (STATE_OK); 237 exit (STATE_OK);
242 case 'V': /* version */ 238 case 'V': /* version */
243 print_revision (progname, revision); 239 print_revision (progname, NP_VERSION);
244 exit (STATE_OK); 240 exit (STATE_OK);
245 case 'F': /* status log */ 241 case 'F': /* status log */
246 status_log = optarg; 242 status_log = optarg;
@@ -278,7 +274,7 @@ process_arguments (int argc, char **argv)
278void 274void
279print_help (void) 275print_help (void)
280{ 276{
281 print_revision (progname, revision); 277 print_revision (progname, NP_VERSION);
282 278
283 printf (_(COPYRIGHT), copyright, email); 279 printf (_(COPYRIGHT), copyright, email);
284 280