diff options
Diffstat (limited to 'plugins/check_ntp_peer.c')
-rw-r--r-- | plugins/check_ntp_peer.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index 17876dd..acca17b 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.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_peer plugin | 11 | * This file contains the check_ntp_peer plugin |
@@ -34,12 +32,10 @@ | |||
34 | * You should have received a copy of the GNU General Public License | 32 | * You should have received a copy of the GNU General Public License |
35 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 33 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
36 | * | 34 | * |
37 | * $Id$ | ||
38 | * | 35 | * |
39 | *****************************************************************************/ | 36 | *****************************************************************************/ |
40 | 37 | ||
41 | const char *progname = "check_ntp_peer"; | 38 | const char *progname = "check_ntp_peer"; |
42 | const char *revision = "$Revision$"; | ||
43 | const char *copyright = "2006-2008"; | 39 | const char *copyright = "2006-2008"; |
44 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 40 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
45 | 41 | ||
@@ -492,7 +488,7 @@ int process_arguments(int argc, char **argv){ | |||
492 | exit(STATE_OK); | 488 | exit(STATE_OK); |
493 | break; | 489 | break; |
494 | case 'V': | 490 | case 'V': |
495 | print_revision(progname, revision); | 491 | print_revision(progname, NP_VERSION); |
496 | exit(STATE_OK); | 492 | exit(STATE_OK); |
497 | break; | 493 | break; |
498 | case 'v': | 494 | case 'v': |
@@ -671,7 +667,7 @@ int main(int argc, char *argv[]){ | |||
671 | 667 | ||
672 | 668 | ||
673 | void print_help(void){ | 669 | void print_help(void){ |
674 | print_revision(progname, revision); | 670 | print_revision(progname, NP_VERSION); |
675 | 671 | ||
676 | printf ("Copyright (c) 2006 Sean Finney\n"); | 672 | printf ("Copyright (c) 2006 Sean Finney\n"); |
677 | printf (COPYRIGHT, copyright, email); | 673 | printf (COPYRIGHT, copyright, email); |