[master] cfd5281 Fix up order of arguments in error message

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


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

    Fix up order of arguments in error message

diff --git a/bin/varnishd/storage/stevedore_utils.c b/bin/varnishd/storage/stevedore_utils.c
index 2364289..4b0b09a 100644
--- a/bin/varnishd/storage/stevedore_utils.c
+++ b/bin/varnishd/storage/stevedore_utils.c
@@ -201,7 +201,7 @@ STV_FileSize(int fd, const char *size, unsigned *granularity, const char *ctx)
 		q = VNUM_2bytes(size, &l, fssize);
 
 		if (q != NULL)
-			ARGV_ERR("(%s) size \"%s\": %s\n", size, ctx, q);
+			ARGV_ERR("(%s) size \"%s\": %s\n", ctx, size, q);
 
 		if (l < 1024*1024)
 			ARGV_ERR("(-spersistent) size \"%s\": too small, "



More information about the varnish-commit mailing list