diff options
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r-- | plugins/check_swap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c index 093845b4..bcc6b170 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c | |||
@@ -405,7 +405,7 @@ process_arguments (int argc, char **argv) | |||
405 | break; | 405 | break; |
406 | } | 406 | } |
407 | else { | 407 | else { |
408 | usage (_("Critical threshold must be integer or percentage!\n")); | 408 | usage4 (_("Critical threshold must be integer or percentage!")); |
409 | } | 409 | } |
410 | case 'a': /* all swap */ | 410 | case 'a': /* all swap */ |
411 | allswaps = TRUE; | 411 | allswaps = TRUE; |
@@ -458,12 +458,12 @@ validate_arguments (void) | |||
458 | return ERROR; | 458 | return ERROR; |
459 | } | 459 | } |
460 | else if (warn_percent < crit_percent) { | 460 | else if (warn_percent < crit_percent) { |
461 | usage | 461 | usage4 |
462 | (_("Warning percentage should be more than critical percentage\n")); | 462 | (_("Warning percentage should be more than critical percentage")); |
463 | } | 463 | } |
464 | else if (warn_size < crit_size) { | 464 | else if (warn_size < crit_size) { |
465 | usage | 465 | usage4 |
466 | (_("Warning free space should be more than critical free space\n")); | 466 | (_("Warning free space should be more than critical free space")); |
467 | } | 467 | } |
468 | return OK; | 468 | return OK; |
469 | } | 469 | } |