[master] 497b076 Use printf(3) for consistency

Poul-Henning Kamp phk at FreeBSD.org
Thu Jan 19 13:56:04 CET 2017


commit 497b076d7d065eeb3ea283c09d2f6c33583bc45b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Jan 19 11:30:38 2017 +0000

    Use printf(3) for consistency

diff --git a/bin/varnishd/mgt/mgt_vcc.c b/bin/varnishd/mgt/mgt_vcc.c
index 6a810b6..fbb5027 100644
--- a/bin/varnishd/mgt/mgt_vcc.c
+++ b/bin/varnishd/mgt/mgt_vcc.c
@@ -79,7 +79,7 @@ static const char * const builtin_vcl =
 void
 mgt_DumpBuiltin(void)
 {
-	puts(builtin_vcl);
+	printf("%s", builtin_vcl);
 }
 
 /*--------------------------------------------------------------------



More information about the varnish-commit mailing list