diff --git a/plugins/check_time.c b/plugins/check_time.c
index dae2dd5ad031f3371614fcabcd06696d9e04b4db..63d7ee255bb94ed0dc2a21196ed728161dbe80b8 100644 (file)
--- a/plugins/check_time.c
+++ b/plugins/check_time.c
check_warning_time = TRUE;
}
else {
- usage (_("Warning thresholds must be a positive integer\n"));
+ usage4 (_("Warning thresholds must be a positive integer"));
}
}
else {
- usage (_("Warning threshold must be a positive integer\n"));
+ usage4 (_("Warning threshold must be a positive integer"));
}
break;
case 'c': /* critical-variance */
check_critical_time = TRUE;
}
else {
- usage (_("Critical thresholds must be a positive integer\n"));
+ usage4 (_("Critical thresholds must be a positive integer"));
}
}
else {
- usage (_("Critical threshold must be a positive integer\n"));
+ usage4 (_("Critical threshold must be a positive integer"));
}
break;
case 'W': /* warning-connect */
if (!is_intnonneg (optarg))
- usage (_("Warning threshold must be a positive integer\n"));
+ usage4 (_("Warning threshold must be a positive integer"));
else
warning_time = atoi (optarg);
check_warning_time = TRUE;
break;
case 'C': /* critical-connect */
if (!is_intnonneg (optarg))
- usage (_("Critical threshold must be a positive integer\n"));
+ usage4 (_("Critical threshold must be a positive integer"));
else
critical_time = atoi (optarg);
check_critical_time = TRUE;
break;
case 'p': /* port */
if (!is_intnonneg (optarg))
- usage (_("Port must be a positive integer\n"));
+ usage4 (_("Port must be a positive integer"));
else
server_port = atoi (optarg);
break;
server_address = argv[c];
}
else {
- usage (_("Hostname was not supplied\n"));
+ usage4 (_("Hostname was not supplied"));
}
}