summaryrefslogtreecommitdiffstats
path: root/plugins/check_swap.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-30 00:41:41 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-30 00:41:41 (GMT)
commit7df9bd7bab72af4f300eef9dc509a226924de58b (patch)
treed98aa39e6fd369c439928d033e45382331e4755f /plugins/check_swap.c
parentfba6d9719e362be25a546ed47d0f7a42679fc79a (diff)
downloadmonitoring-plugins-7df9bd7bab72af4f300eef9dc509a226924de58b.tar.gz
more internationalization fixes
internationalization freeze for beta1 git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1067 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r--plugins/check_swap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index 093845b..bcc6b17 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}