r5012 - trunk/varnish-cache/lib/libvarnish

phk at varnish-cache.org phk at varnish-cache.org
Mon Jul 5 22:56:30 CEST 2010


Author: phk
Date: 2010-07-05 22:56:30 +0200 (Mon, 05 Jul 2010)
New Revision: 5012

Modified:
   trunk/varnish-cache/lib/libvarnish/subproc.c
Log:
Add missing final newline.



Modified: trunk/varnish-cache/lib/libvarnish/subproc.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/subproc.c	2010-07-05 20:14:48 UTC (rev 5011)
+++ trunk/varnish-cache/lib/libvarnish/subproc.c	2010-07-05 20:56:30 UTC (rev 5012)
@@ -116,7 +116,7 @@
 	do {
 		rv = waitpid(pid, &status, 0);
 		if (rv < 0 && errno != EINTR) {
-			vsb_printf(sb, "Running %s: waitpid() failed: %s",
+			vsb_printf(sb, "Running %s: waitpid() failed: %s\n",
 			    name, strerror(errno));
 			return (-1);
 		}
@@ -129,6 +129,7 @@
 			vsb_printf(sb, ", signal %d", WTERMSIG(status));
 		if (WCOREDUMP(status))
 			vsb_printf(sb, ", core dumped");
+		vsb_printf(sb, "\n");
 		return (-1);
 	}
 	return (0);




More information about the varnish-commit mailing list