summaryrefslogtreecommitdiffstats
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 a7d8e6f..7d11551 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -337,14 +337,14 @@ main (int argc, char **argv)
337 alarm (0); 337 alarm (0);
338 338
339 printf 339 printf
340 ("%s %s - %7.3f second response time on port %d", 340 ("%s %s - %.3f second response time on port %d",
341 SERVICE, 341 SERVICE,
342 state_text (result), elapsed_time, server_port); 342 state_text (result), elapsed_time, server_port);
343 343
344 if (status && strlen(status) > 0) 344 if (status && strlen(status) > 0)
345 printf (" [%s]", status); 345 printf (" [%s]", status);
346 346
347 printf ("|time=%7.3f\n", elapsed_time); 347 printf ("|time=%.3f\n", elapsed_time);
348 348
349 return result; 349 return result;
350} 350}