From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/368326-check_ide_smart.c.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 web/attachments/368326-check_ide_smart.c.patch (limited to 'web/attachments/368326-check_ide_smart.c.patch') diff --git a/web/attachments/368326-check_ide_smart.c.patch b/web/attachments/368326-check_ide_smart.c.patch new file mode 100644 index 0000000..f357216 --- /dev/null +++ b/web/attachments/368326-check_ide_smart.c.patch @@ -0,0 +1,22 @@ +--- plugins/check_ide_smart.c Mon Dec 1 00:23:18 2008 ++++ plugins/check_ide_smart.c.new Fri Mar 26 17:38:17 2010 +@@ -158,9 +158,6 @@ + values_t values; + int fd; + +- /* Parse extra opts if any */ +- argv=np_extra_opts (&argc, argv, progname); +- + static struct option longopts[] = { + {"device", required_argument, 0, 'd'}, + {"immediate", no_argument, 0, 'i'}, +@@ -173,6 +170,9 @@ + {0, 0, 0, 0} + }; + ++ /* Parse extra opts if any */ ++ argv=np_extra_opts (&argc, argv, progname); ++ + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); -- cgit v1.2.3-74-g34f1