[master] d915e2201 mgt_vcc: Missing new line in error message

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Jun 6 14:16:10 UTC 2023


commit d915e22017a7778dd19fa944fa165bcacb5cc2c5
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Jun 6 16:14:52 2023 +0200

    mgt_vcc: Missing new line in error message

diff --git a/bin/varnishd/mgt/mgt_vcc.c b/bin/varnishd/mgt/mgt_vcc.c
index 6561e7e77..0fdc53ab0 100644
--- a/bin/varnishd/mgt/mgt_vcc.c
+++ b/bin/varnishd/mgt/mgt_vcc.c
@@ -256,7 +256,8 @@ mgt_vcc_touchfile(const char *fn, struct vsb *sb)
 
 	i = open(fn, O_WRONLY|O_CREAT|O_TRUNC, 0640);
 	if (i < 0) {
-		VSB_printf(sb, "Failed to create %s: %s", fn, VAS_errtxt(errno));
+		VSB_printf(sb, "Failed to create %s: %s\n",
+		    fn, VAS_errtxt(errno));
 		return (2);
 	}
 	closefd(&i);


More information about the varnish-commit mailing list