aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 0b87d687..b0459f2b 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -356,7 +356,7 @@ main (int argc, char **argv)
printf("%.3f second response time on ", elapsed_time);
if(server_address[0] != '/') {
if (host_specified)
- printf("host %s and port %d",
+ printf("%s port %d",
server_address, server_port);
else
printf("port %d", server_port);