diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-25 23:17:46 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-25 23:17:46 (GMT) |
commit | e9ccc6b21a1152bbf150302c4a29a6df79d75bd7 (patch) | |
tree | 91bf1ebb6f927fd628b298df2ac5a89580282591 /plugins/check_ide_smart.c | |
parent | 71656b2aafffb69716620bf08cce76c925dc8fa3 (diff) | |
download | monitoring-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.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index 644dc48..16cd1a8 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 | |||
492 | void | 489 | void |
493 | print_help () | 490 | print_help () |
494 | { | 491 | { |
@@ -515,7 +512,6 @@ Usage: %s [DEVICE] [OPTION]\n\ | |||
515 | } | 512 | } |
516 | 513 | ||
517 | 514 | ||
518 | |||
519 | void | 515 | void |
520 | print_usage (void) | 516 | print_usage (void) |
521 | { | 517 | { |