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 a7d8e6f2..7d115513 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -337,14 +337,14 @@ main (int argc, char **argv)
alarm (0);
printf
- ("%s %s - %7.3f second response time on port %d",
+ ("%s %s - %.3f second response time on port %d",
SERVICE,
state_text (result), elapsed_time, server_port);
if (status && strlen(status) > 0)
printf (" [%s]", status);
- printf ("|time=%7.3f\n", elapsed_time);
+ printf ("|time=%.3f\n", elapsed_time);
return result;
}