[4.1] 41aa2e3 Fix redundant error message

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Mon Sep 12 15:48:16 CEST 2016


commit 41aa2e379bb242fe9ea7ec7295afc8b76511e9ec
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Sat Aug 20 18:29:26 2016 +0200

    Fix redundant error message

diff --git a/bin/varnishd/mgt/mgt_jail.c b/bin/varnishd/mgt/mgt_jail.c
index 4a71ea7..b0cd91d 100644
--- a/bin/varnishd/mgt/mgt_jail.c
+++ b/bin/varnishd/mgt/mgt_jail.c
@@ -154,7 +154,7 @@ VJ_make_workdir(const char *dname)
 
 	fd = open("_.testfile", O_RDWR|O_CREAT|O_EXCL, 0600);
 	if (fd < 0)
-		ARGV_ERR("Error: Cannot create test-file in %s (%s)\n"
+		ARGV_ERR("Cannot create test-file in %s (%s)\n"
 		    "Check permissions (or delete old directory)\n",
 		    dname, strerror(errno));
 	AZ(close(fd));



More information about the varnish-commit mailing list