[master] 84170d3 Zap extra newline

Federico G. Schwindt fgsch at lodoss.net
Thu Jun 16 13:35:10 CEST 2016


commit 84170d3eed9c1185f93ffd0cab012cadca32c977
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Thu Jun 16 12:24:21 2016 +0100

    Zap extra newline

diff --git a/bin/varnishd/mgt/mgt_jail_unix.c b/bin/varnishd/mgt/mgt_jail_unix.c
index edb4653..03c9539 100644
--- a/bin/varnishd/mgt/mgt_jail_unix.c
+++ b/bin/varnishd/mgt/mgt_jail_unix.c
@@ -231,7 +231,7 @@ vju_subproc(enum jail_subproc_e jse)
 	 */
 	if (prctl(PR_SET_DUMPABLE, 1) != 0) {
 		MGT_complain(C_INFO,
-		    "Could not set dumpable bit.  Core dumps turned off\n");
+		    "Could not set dumpable bit.  Core dumps turned off");
 	}
 #endif
 }
diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index e189e61..dcd45db 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -811,7 +811,7 @@ main(int argc, char * const *argv)
 
 	assert(pfh == NULL || !VPF_Write(pfh));
 
-	MGT_complain(C_DEBUG, "Platform: %s\n", VSB_data(vident) + 1);
+	MGT_complain(C_DEBUG, "Platform: %s", VSB_data(vident) + 1);
 
 	mgt_pid = getpid();	/* daemon() changed this */
 



More information about the varnish-commit mailing list