summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_ntp.c4
-rw-r--r--plugins/negate.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index ada7f0c..fdbdc14 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -876,14 +876,14 @@ void print_help(void){
876 printf (_(UT_SUPPORT)); 876 printf (_(UT_SUPPORT));
877 877
878 printf ("%s\n", _("WARNING: check_ntp is deprecated. Please use check_ntp_peer or")); 878 printf ("%s\n", _("WARNING: check_ntp is deprecated. Please use check_ntp_peer or"));
879 printf ("%s\n\n", _("check_ntp_time istead.")); 879 printf ("%s\n\n", _("check_ntp_time instead."));
880} 880}
881 881
882void 882void
883print_usage(void) 883print_usage(void)
884{ 884{
885 printf ("%s\n", _("WARNING: check_ntp is deprecated. Please use check_ntp_peer or")); 885 printf ("%s\n", _("WARNING: check_ntp is deprecated. Please use check_ntp_peer or"));
886 printf ("%s\n\n", _("check_ntp_time istead.")); 886 printf ("%s\n\n", _("check_ntp_time instead."));
887 printf (_("Usage:")); 887 printf (_("Usage:"));
888 printf(" %s -H <host> [-w <warn>] [-c <crit>] [-j <warn>] [-k <crit>] [-v verbose]\n", progname); 888 printf(" %s -H <host> [-w <warn>] [-c <crit>] [-j <warn>] [-k <crit>] [-v verbose]\n", progname);
889} 889}
diff --git a/plugins/negate.c b/plugins/negate.c
index ebbb152..8eac722 100644
--- a/plugins/negate.c
+++ b/plugins/negate.c
@@ -164,7 +164,7 @@ process_arguments (int argc, char **argv)
164 break; 164 break;
165 case 'T': /* Result to return on timeouts */ 165 case 'T': /* Result to return on timeouts */
166 if ((timeout_state = translate_state(optarg)) == ERROR) 166 if ((timeout_state = translate_state(optarg)) == ERROR)
167 usage4 (_("timeout result must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); 167 usage4 (_("Timeout result must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3)."));
168 break; 168 break;
169 case 'o': /* replacement for OK */ 169 case 'o': /* replacement for OK */
170 if ((state[STATE_OK] = translate_state(optarg)) == ERROR) 170 if ((state[STATE_OK] = translate_state(optarg)) == ERROR)