diff options
Diffstat (limited to 'plugins/check_mysql.c')
-rw-r--r-- | plugins/check_mysql.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index 77f3b89b..a1a63769 100644 --- a/plugins/check_mysql.c +++ b/plugins/check_mysql.c | |||
@@ -7,8 +7,6 @@ | |||
7 | * Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) | 7 | * Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) |
8 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 8 | * Copyright (c) 1999-2007 Nagios Plugins Development Team |
9 | * | 9 | * |
10 | * Last Modified: $Date$ | ||
11 | * | ||
12 | * Description: | 10 | * Description: |
13 | * | 11 | * |
14 | * This file contains the check_mysql plugin | 12 | * This file contains the check_mysql 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 | ||
36 | const char *progname = "check_mysql"; | 33 | const char *progname = "check_mysql"; |
37 | const char *revision = "$Revision$"; | ||
38 | const char *copyright = "1999-2007"; | 34 | const char *copyright = "1999-2007"; |
39 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 35 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
40 | 36 | ||
@@ -310,7 +306,7 @@ process_arguments (int argc, char **argv) | |||
310 | critical = optarg; | 306 | critical = optarg; |
311 | break; | 307 | break; |
312 | case 'V': /* version */ | 308 | case 'V': /* version */ |
313 | print_revision (progname, revision); | 309 | print_revision (progname, NP_VERSION); |
314 | exit (STATE_OK); | 310 | exit (STATE_OK); |
315 | case 'h': /* help */ | 311 | case 'h': /* help */ |
316 | print_help (); | 312 | print_help (); |
@@ -377,7 +373,7 @@ print_help (void) | |||
377 | char *myport; | 373 | char *myport; |
378 | asprintf (&myport, "%d", MYSQL_PORT); | 374 | asprintf (&myport, "%d", MYSQL_PORT); |
379 | 375 | ||
380 | print_revision (progname, revision); | 376 | print_revision (progname, NP_VERSION); |
381 | 377 | ||
382 | printf (_(COPYRIGHT), copyright, email); | 378 | printf (_(COPYRIGHT), copyright, email); |
383 | 379 | ||