diff options
Diffstat (limited to 'plugins/check_ntp_time.c')
| -rw-r--r-- | plugins/check_ntp_time.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index a5b122f3..c7c7a754 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.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_time plugin | 11 | * This file contains the check_ntp_time plugin |
| @@ -33,12 +31,10 @@ | |||
| 33 | * You should have received a copy of the GNU General Public License | 31 | * You should have received a copy of the GNU General Public License |
| 34 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 32 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 35 | * | 33 | * |
| 36 | * $Id$ | ||
| 37 | * | 34 | * |
| 38 | *****************************************************************************/ | 35 | *****************************************************************************/ |
| 39 | 36 | ||
| 40 | const char *progname = "check_ntp_time"; | 37 | const char *progname = "check_ntp_time"; |
| 41 | const char *revision = "$Revision$"; | ||
| 42 | const char *copyright = "2006-2008"; | 38 | const char *copyright = "2006-2008"; |
| 43 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 39 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
| 44 | 40 | ||
| @@ -476,7 +472,7 @@ int process_arguments(int argc, char **argv){ | |||
| 476 | exit(STATE_OK); | 472 | exit(STATE_OK); |
| 477 | break; | 473 | break; |
| 478 | case 'V': | 474 | case 'V': |
| 479 | print_revision(progname, revision); | 475 | print_revision(progname, NP_VERSION); |
| 480 | exit(STATE_OK); | 476 | exit(STATE_OK); |
| 481 | break; | 477 | break; |
| 482 | case 'v': | 478 | case 'v': |
| @@ -594,7 +590,7 @@ int main(int argc, char *argv[]){ | |||
| 594 | } | 590 | } |
| 595 | 591 | ||
| 596 | void print_help(void){ | 592 | void print_help(void){ |
| 597 | print_revision(progname, revision); | 593 | print_revision(progname, NP_VERSION); |
| 598 | 594 | ||
| 599 | printf ("Copyright (c) 2006 Sean Finney\n"); | 595 | printf ("Copyright (c) 2006 Sean Finney\n"); |
| 600 | printf (COPYRIGHT, copyright, email); | 596 | printf (COPYRIGHT, copyright, email); |
