summaryrefslogtreecommitdiffstats
path: root/plugins/check_ide_smart.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-25 23:17:46 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-25 23:17:46 +0000
commite9ccc6b21a1152bbf150302c4a29a6df79d75bd7 (patch)
tree91bf1ebb6f927fd628b298df2ac5a89580282591 /plugins/check_ide_smart.c
parent71656b2aafffb69716620bf08cce76c925dc8fa3 (diff)
downloadmonitoring-plugins-e9ccc6b21a1152bbf150302c4a29a6df79d75bd7.tar.gz
various fixes for localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1061 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ide_smart.c')
-rw-r--r--plugins/check_ide_smart.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c
index 644dc488..16cd1a87 100644
--- a/plugins/check_ide_smart.c
+++ b/plugins/check_ide_smart.c
@@ -206,9 +206,7 @@ main (int argc, char *argv[])
206 print_revision (progname, revision); 206 print_revision (progname, revision);
207 return STATE_OK; 207 return STATE_OK;
208 default: 208 default:
209 printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); 209 usage2 (_("Unknown argument"), optarg);
210 print_usage ();
211 exit (STATE_UNKNOWN);
212 } 210 }
213 211
214 if (optind < argc) { 212 if (optind < argc) {
@@ -488,7 +486,6 @@ smart_read_thresholds (int fd, thresholds_t * thresholds)
488} 486}
489 487
490 488
491
492void 489void
493print_help () 490print_help ()
494{ 491{
@@ -515,7 +512,6 @@ Usage: %s [DEVICE] [OPTION]\n\
515} 512}
516 513
517 514
518
519void 515void
520print_usage (void) 516print_usage (void)
521{ 517{