diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/368326-check_ide_smart.c.patch | |
download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/368326-check_ide_smart.c.patch')
-rw-r--r-- | web/attachments/368326-check_ide_smart.c.patch | 22 |
1 files changed, 22 insertions, 0 deletions
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 @@ | |||
1 | --- plugins/check_ide_smart.c Mon Dec 1 00:23:18 2008 | ||
2 | +++ plugins/check_ide_smart.c.new Fri Mar 26 17:38:17 2010 | ||
3 | @@ -158,9 +158,6 @@ | ||
4 | values_t values; | ||
5 | int fd; | ||
6 | |||
7 | - /* Parse extra opts if any */ | ||
8 | - argv=np_extra_opts (&argc, argv, progname); | ||
9 | - | ||
10 | static struct option longopts[] = { | ||
11 | {"device", required_argument, 0, 'd'}, | ||
12 | {"immediate", no_argument, 0, 'i'}, | ||
13 | @@ -173,6 +170,9 @@ | ||
14 | {0, 0, 0, 0} | ||
15 | }; | ||
16 | |||
17 | + /* Parse extra opts if any */ | ||
18 | + argv=np_extra_opts (&argc, argv, progname); | ||
19 | + | ||
20 | setlocale (LC_ALL, ""); | ||
21 | bindtextdomain (PACKAGE, LOCALEDIR); | ||
22 | textdomain (PACKAGE); | ||