summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 12b77a8..98a061f 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -5,8 +5,6 @@
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2008 Nagios Plugins Development Team 6* Copyright (c) 1999-2008 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$
9*
10* Description: 8* Description:
11* 9*
12* This file contains the check_disk plugin 10* This file contains the check_disk plugin
@@ -25,13 +23,11 @@
25* You should have received a copy of the GNU General Public License 23* You should have received a copy of the GNU General Public License
26* along with this program. If not, see <http://www.gnu.org/licenses/>. 24* along with this program. If not, see <http://www.gnu.org/licenses/>.
27* 25*
28* $Id$
29* 26*
30*****************************************************************************/ 27*****************************************************************************/
31 28
32const char *progname = "check_disk"; 29const char *progname = "check_disk";
33const char *program_name = "check_disk"; /* Required for coreutils libs */ 30const char *program_name = "check_disk"; /* Required for coreutils libs */
34const char *revision = "$Revision$";
35const char *copyright = "1999-2008"; 31const char *copyright = "1999-2008";
36const char *email = "nagiosplug-devel@lists.sourceforge.net"; 32const char *email = "nagiosplug-devel@lists.sourceforge.net";
37 33
@@ -787,7 +783,7 @@ process_arguments (int argc, char **argv)
787 group = NULL; 783 group = NULL;
788 break; 784 break;
789 case 'V': /* version */ 785 case 'V': /* version */
790 print_revision (progname, revision); 786 print_revision (progname, NP_VERSION);
791 exit (STATE_OK); 787 exit (STATE_OK);
792 case 'h': /* help */ 788 case 'h': /* help */
793 print_help (); 789 print_help ();
@@ -896,7 +892,7 @@ INPUT ERROR: C_DF (%lu) should be less than W_DF (%lu) and both should be greate
896void 892void
897print_help (void) 893print_help (void)
898{ 894{
899 print_revision (progname, revision); 895 print_revision (progname, NP_VERSION);
900 896
901 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); 897 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
902 printf (COPYRIGHT, copyright, email); 898 printf (COPYRIGHT, copyright, email);