summaryrefslogtreecommitdiffstats
path: root/plugins/check_ide_smart.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2010-03-27 04:13:38 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2010-03-27 04:13:38 (GMT)
commit08d8d119411fc875de56fac645b17152425eee46 (patch)
tree17ab506c2823cb9567a1d5b73982b998bb3f45c6 /plugins/check_ide_smart.c
parente11b67f6200b994c6d8118948a36eb0ed43bec5a (diff)
downloadmonitoring-plugins-08d8d119411fc875de56fac645b17152425eee46.tar.gz
Fix compilation with GCC 2.96 (Konstantin Khomoutov - #2977105)
Diffstat (limited to 'plugins/check_ide_smart.c')
-rw-r--r--plugins/check_ide_smart.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c
index b0b0189..e036a37 100644
--- a/plugins/check_ide_smart.c
+++ b/plugins/check_ide_smart.c
@@ -158,9 +158,6 @@ main (int argc, char *argv[])
158 values_t values; 158 values_t values;
159 int fd; 159 int fd;
160 160
161 /* Parse extra opts if any */
162 argv=np_extra_opts (&argc, argv, progname);
163
164 static struct option longopts[] = { 161 static struct option longopts[] = {
165 {"device", required_argument, 0, 'd'}, 162 {"device", required_argument, 0, 'd'},
166 {"immediate", no_argument, 0, 'i'}, 163 {"immediate", no_argument, 0, 'i'},
@@ -173,6 +170,9 @@ main (int argc, char *argv[])
173 {0, 0, 0, 0} 170 {0, 0, 0, 0}
174 }; 171 };
175 172
173 /* Parse extra opts if any */
174 argv=np_extra_opts (&argc, argv, progname);
175
176 setlocale (LC_ALL, ""); 176 setlocale (LC_ALL, "");
177 bindtextdomain (PACKAGE, LOCALEDIR); 177 bindtextdomain (PACKAGE, LOCALEDIR);
178 textdomain (PACKAGE); 178 textdomain (PACKAGE);