Imported Upstream version 1.4.13+git200906171200

This commit is contained in:
Jan Wagner 2013-11-26 23:56:50 +01:00
parent 4ab9f0d24c
commit d0b8ab8112
362 changed files with 34110 additions and 10773 deletions

View file

@ -9,8 +9,6 @@
* Copyright (c) 2000 Robert Dale <rdale@digital-mission.com>
* Copyright (c) 2000-2007 Nagios Plugins Development Team
*
* Last Modified: $Date: 2008-05-07 11:02:42 +0100 (Wed, 07 May 2008) $
*
* Description:
*
* This file contains the check_ide_smart plugin
@ -32,12 +30,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* $Id: check_ide_smart.c 1991 2008-05-07 10:02:42Z dermoth $
*
*****************************************************************************/
const char *progname = "check_ide_smart";
const char *revision = "$Revision: 1991 $";
const char *copyright = "1998-2007";
const char *email = "nagiosplug-devel@lists.sourceforge.net";
@ -173,7 +169,8 @@ main (int argc, char *argv[])
{"auto-off", no_argument, 0, '0'},
{"nagios", no_argument, 0, 'n'},
{"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'V'}, {0, 0, 0, 0}
{"version", no_argument, 0, 'V'},
{0, 0, 0, 0}
};
setlocale (LC_ALL, "");
@ -210,7 +207,7 @@ main (int argc, char *argv[])
print_help ();
return STATE_OK;
case 'V':
print_revision (progname, revision);
print_revision (progname, NP_VERSION);
return STATE_OK;
default:
usage5 ();
@ -480,7 +477,7 @@ smart_read_thresholds (int fd, thresholds_t * thresholds)
void
print_help (void)
{
print_revision (progname, revision);
print_revision (progname, NP_VERSION);
printf ("Nagios feature - 1999 Robert Dale <rdale@digital-mission.com>\n");
printf ("(C) 1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org>\n");