diff options
Diffstat (limited to 'plugins/check_swap.c')
| -rw-r--r-- | plugins/check_swap.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c index f0269633..be20ca32 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c | |||
| @@ -6,8 +6,6 @@ | |||
| 6 | * Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) | 6 | * Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) |
| 7 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 7 | * Copyright (c) 2000-2007 Nagios Plugins Development Team |
| 8 | * | 8 | * |
| 9 | * Last Modified: $Date$ | ||
| 10 | * | ||
| 11 | * Description: | 9 | * Description: |
| 12 | * | 10 | * |
| 13 | * This file contains the check_disk plugin | 11 | * This file contains the check_disk plugin |
| @@ -26,12 +24,10 @@ | |||
| 26 | * You should have received a copy of the GNU General Public License | 24 | * You should have received a copy of the GNU General Public License |
| 27 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 25 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 28 | * | 26 | * |
| 29 | * $Id$ | ||
| 30 | * | 27 | * |
| 31 | *****************************************************************************/ | 28 | *****************************************************************************/ |
| 32 | 29 | ||
| 33 | const char *progname = "check_swap"; | 30 | const char *progname = "check_swap"; |
| 34 | const char *revision = "$Revision$"; | ||
| 35 | const char *copyright = "2000-2007"; | 31 | const char *copyright = "2000-2007"; |
| 36 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 32 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
| 37 | 33 | ||
| @@ -463,7 +459,7 @@ process_arguments (int argc, char **argv) | |||
| 463 | verbose++; | 459 | verbose++; |
| 464 | break; | 460 | break; |
| 465 | case 'V': /* version */ | 461 | case 'V': /* version */ |
| 466 | print_revision (progname, revision); | 462 | print_revision (progname, NP_VERSION); |
| 467 | exit (STATE_OK); | 463 | exit (STATE_OK); |
| 468 | case 'h': /* help */ | 464 | case 'h': /* help */ |
| 469 | print_help (); | 465 | print_help (); |
| @@ -522,7 +518,7 @@ validate_arguments (void) | |||
| 522 | void | 518 | void |
| 523 | print_help (void) | 519 | print_help (void) |
| 524 | { | 520 | { |
| 525 | print_revision (progname, revision); | 521 | print_revision (progname, NP_VERSION); |
| 526 | 522 | ||
| 527 | printf (_(COPYRIGHT), copyright, email); | 523 | printf (_(COPYRIGHT), copyright, email); |
| 528 | 524 | ||
