[master] 375ee2d Use ctx rather than hard coding -spersistent

Tollef Fog Heen tfheen at varnish-cache.org
Fri Sep 13 13:31:00 CEST 2013


commit 375ee2da941d15fb65df4bf9a8c0f62e46e71cd6
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Fri Sep 13 13:30:56 2013 +0200

    Use ctx rather than hard coding -spersistent

diff --git a/bin/varnishd/storage/stevedore_utils.c b/bin/varnishd/storage/stevedore_utils.c
index 4b0b09a..92f531b 100644
--- a/bin/varnishd/storage/stevedore_utils.c
+++ b/bin/varnishd/storage/stevedore_utils.c
@@ -204,8 +204,8 @@ STV_FileSize(int fd, const char *size, unsigned *granularity, const char *ctx)
 			ARGV_ERR("(%s) size \"%s\": %s\n", ctx, size, q);
 
 		if (l < 1024*1024)
-			ARGV_ERR("(-spersistent) size \"%s\": too small, "
-				 "did you forget to specify M or G?\n", size);
+			ARGV_ERR("(%s) size \"%s\": too small, "
+				 "did you forget to specify M or G?\n", ctx, size);
 	}
 
 	/*



More information about the varnish-commit mailing list