summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r--plugins/check_ntp.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index 20ecf64..ada7f0c 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -6,8 +6,6 @@
6* Copyright (c) 2006 Sean Finney <seanius@seanius.net> 6* Copyright (c) 2006 Sean Finney <seanius@seanius.net>
7* Copyright (c) 2006-2008 Nagios Plugins Development Team 7* Copyright (c) 2006-2008 Nagios Plugins Development Team
8* 8*
9* Last Modified: $Date$
10*
11* Description: 9* Description:
12* 10*
13* This file contains the check_ntp plugin 11* This file contains the check_ntp 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_ntp"; 33const char *progname = "check_ntp";
37const char *revision = "$Revision$";
38const char *copyright = "2006-2008"; 34const char *copyright = "2006-2008";
39const char *email = "nagiosplug-devel@lists.sourceforge.net"; 35const char *email = "nagiosplug-devel@lists.sourceforge.net";
40 36
@@ -682,7 +678,7 @@ int process_arguments(int argc, char **argv){
682 exit(STATE_OK); 678 exit(STATE_OK);
683 break; 679 break;
684 case 'V': 680 case 'V':
685 print_revision(progname, revision); 681 print_revision(progname, NP_VERSION);
686 exit(STATE_OK); 682 exit(STATE_OK);
687 break; 683 break;
688 case 'v': 684 case 'v':
@@ -836,7 +832,7 @@ int main(int argc, char *argv[]){
836 832
837 833
838void print_help(void){ 834void print_help(void){
839 print_revision(progname, revision); 835 print_revision(progname, NP_VERSION);
840 836
841 printf ("Copyright (c) 2006 Sean Finney\n"); 837 printf ("Copyright (c) 2006 Sean Finney\n");
842 printf (COPYRIGHT, copyright, email); 838 printf (COPYRIGHT, copyright, email);