summaryrefslogtreecommitdiffstats
path: root/plugins/check_users.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_users.c')
-rw-r--r--plugins/check_users.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_users.c b/plugins/check_users.c
index 4e7e9a29..1bd2c8b2 100644
--- a/plugins/check_users.c
+++ b/plugins/check_users.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_users plugin 10* This file contains the check_users plugin
@@ -29,12 +27,10 @@
29* You should have received a copy of the GNU General Public License 27* You should have received a copy of the GNU General Public License
30* along with this program. If not, see <http://www.gnu.org/licenses/>. 28* along with this program. If not, see <http://www.gnu.org/licenses/>.
31* 29*
32* $Id$
33* 30*
34*****************************************************************************/ 31*****************************************************************************/
35 32
36const char *progname = "check_users"; 33const char *progname = "check_users";
37const char *revision = "$Revision$";
38const char *copyright = "2000-2007"; 34const char *copyright = "2000-2007";
39const char *email = "nagiosplug-devel@lists.sourceforge.net"; 35const char *email = "nagiosplug-devel@lists.sourceforge.net";
40 36
@@ -163,7 +159,7 @@ process_arguments (int argc, char **argv)
163 print_help (); 159 print_help ();
164 exit (STATE_OK); 160 exit (STATE_OK);
165 case 'V': /* version */ 161 case 'V': /* version */
166 print_revision (progname, revision); 162 print_revision (progname, NP_VERSION);
167 exit (STATE_OK); 163 exit (STATE_OK);
168 case 'c': /* critical */ 164 case 'c': /* critical */
169 if (!is_intnonneg (optarg)) 165 if (!is_intnonneg (optarg))
@@ -203,7 +199,7 @@ process_arguments (int argc, char **argv)
203void 199void
204print_help (void) 200print_help (void)
205{ 201{
206 print_revision (progname, revision); 202 print_revision (progname, NP_VERSION);
207 203
208 printf ("Copyright (c) 1999 Ethan Galstad\n"); 204 printf ("Copyright (c) 1999 Ethan Galstad\n");
209 printf (COPYRIGHT, copyright, email); 205 printf (COPYRIGHT, copyright, email);