aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r--plugins/check_tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index ed51e94a..af3c7206 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -240,7 +240,7 @@ main (int argc, char **argv)
status = strdup ("");
if (process_arguments (argc, argv) != TRUE)
- usage (_("check_tcp: could not parse arguments\n"));
+ usage4 (_("Could not parse arguments"));
/* use default expect if none listed in process_arguments() */
if (EXPECT && server_expect_count == 0) {
@@ -265,7 +265,7 @@ main (int argc, char **argv)
X509_free(server_cert);
}
else {
- printf("CRITICAL Cannot retrieve server certificate.\n");
+ printf("CRITICAL - Cannot retrieve server certificate.\n");
result = STATE_CRITICAL;
}
SSL_shutdown (ssl);