diff options
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); | ||