diff options
Diffstat (limited to 'plugins/check_disk.c')
| -rw-r--r-- | plugins/check_disk.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index c7ea3441..70cd5480 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
| @@ -322,7 +322,7 @@ process_arguments (int argc, char **argv) | |||
| 322 | break; | 322 | break; |
| 323 | } | 323 | } |
| 324 | else { | 324 | else { |
| 325 | usage (_("Warning threshold must be integer or percentage!\n")); | 325 | usage4 (_("Warning threshold must be integer or percentage!")); |
| 326 | } | 326 | } |
| 327 | case 'c': /* critical threshold */ | 327 | case 'c': /* critical threshold */ |
| 328 | if (is_intnonneg (optarg)) { | 328 | if (is_intnonneg (optarg)) { |
| @@ -339,7 +339,7 @@ process_arguments (int argc, char **argv) | |||
| 339 | break; | 339 | break; |
| 340 | } | 340 | } |
| 341 | else { | 341 | else { |
| 342 | usage (_("Critical threshold must be integer or percentage!\n")); | 342 | usage4 (_("Critical threshold must be integer or percentage!")); |
| 343 | } | 343 | } |
| 344 | case 'u': | 344 | case 'u': |
| 345 | if (units) | 345 | if (units) |
| @@ -636,10 +636,9 @@ and generates an alert if free space is less than one of the threshold values.") | |||
| 636 | void | 636 | void |
| 637 | print_usage (void) | 637 | print_usage (void) |
| 638 | { | 638 | { |
| 639 | printf (_("\ | 639 | printf ("\ |
| 640 | Usage: %s -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e]\n\ | 640 | Usage: %s -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e]\n\ |
| 641 | [-v] [-q]\n\ | 641 | [-v] [-q]\n", progname); |
| 642 | %s (-h|--help)\n\ | 642 | |
| 643 | %s (-V|--version)\n"), | 643 | printf (UT_HLP_VRS, progname, progname); |
| 644 | progname, progname, progname); | ||
| 645 | } | 644 | } |
