aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nettest_bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nettest_bsd.c b/nettest_bsd.c
index 27092f3..e726d30 100644
--- a/nettest_bsd.c
+++ b/nettest_bsd.c
@@ -1164,7 +1164,7 @@ print_top_test_header(char test_name[], struct addrinfo *source, struct addrinfo
/* the headers. we know some of it here, but not all, so we will */
/* only print the test title here and will print the results */
/* titles after the test is finished */
- fprintf(where,test_name);
+ fprintf(where, "%s", test_name);
address_buf[0] = '\0';
inet_ntop(source->ai_family,get_address_address(source),address_buf,sizeof(address_buf));
fprintf(where,