summaryrefslogtreecommitdiffstats
path: root/plugins/check_ide_smart.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-08 16:33:15 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-08 16:33:15 +0000
commit4e366f82dee33c2f9a2e781d77144b2cf76d7c51 (patch)
treef94f43282102fa89aa11a595ae03387d9c84d040 /plugins/check_ide_smart.c
parent4bdb362b6126803f86373ebf181925b86d85f0fc (diff)
downloadmonitoring-plugins-4e366f82dee33c2f9a2e781d77144b2cf76d7c51.tar.gz
Fix long options parsing in check_disk, check_dns, check_mrtg and check_mrtgtraf (check_tcp was done in an earlier commit)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2078 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ide_smart.c')
-rw-r--r--plugins/check_ide_smart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c
index 02f07c01..b0a7ef6c 100644
--- a/plugins/check_ide_smart.c
+++ b/plugins/check_ide_smart.c
@@ -173,7 +173,8 @@ main (int argc, char *argv[])
173 {"auto-off", no_argument, 0, '0'}, 173 {"auto-off", no_argument, 0, '0'},
174 {"nagios", no_argument, 0, 'n'}, 174 {"nagios", no_argument, 0, 'n'},
175 {"help", no_argument, 0, 'h'}, 175 {"help", no_argument, 0, 'h'},
176 {"version", no_argument, 0, 'V'}, {0, 0, 0, 0} 176 {"version", no_argument, 0, 'V'},
177 {0, 0, 0, 0}
177 }; 178 };
178 179
179 setlocale (LC_ALL, ""); 180 setlocale (LC_ALL, "");