[6.0] daa0f945a Printf format fix
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri Feb 8 13:13:10 UTC 2019
commit daa0f945a38d774d289f558cf006ae4d71dd03ef
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Dec 4 21:53:36 2018 +0000
Printf format fix
diff --git a/bin/varnishd/cache/cache_vcl.c b/bin/varnishd/cache/cache_vcl.c
index 410724e5d..4cf196ea0 100644
--- a/bin/varnishd/cache/cache_vcl.c
+++ b/bin/varnishd/cache/cache_vcl.c
@@ -212,7 +212,7 @@ VCL_Panic(struct vsb *vsb, const struct vcl *vcl)
VSB_printf(vsb, "conf = NULL\n");
} else {
PAN_CheckMagic(vsb, vcl->conf, VCL_CONF_MAGIC);
- VSB_printf(vsb, "syntax = \"%d\",\n", vcl->conf->syntax);
+ VSB_printf(vsb, "syntax = \"%u\",\n", vcl->conf->syntax);
VSB_printf(vsb, "srcname = {\n");
VSB_indent(vsb, 2);
for (i = 0; i < vcl->conf->nsrc; ++i)
More information about the varnish-commit
mailing list