aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_swap.c
diff options
context:
space:
mode:
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 093845b4..bcc6b170 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -405,7 +405,7 @@ process_arguments (int argc, char **argv)
break;
}
else {
- usage (_("Critical threshold must be integer or percentage!\n"));
+ usage4 (_("Critical threshold must be integer or percentage!"));
}
case 'a': /* all swap */
allswaps = TRUE;
@@ -458,12 +458,12 @@ validate_arguments (void)
return ERROR;
}
else if (warn_percent < crit_percent) {
- usage
- (_("Warning percentage should be more than critical percentage\n"));
+ usage4
+ (_("Warning percentage should be more than critical percentage"));
}
else if (warn_size < crit_size) {
- usage
- (_("Warning free space should be more than critical free space\n"));
+ usage4
+ (_("Warning free space should be more than critical free space"));
}
return OK;
}