Commit de2356b0 authored by Geoff Simmons's avatar Geoff Simmons

fix compile failure error message from the sub() function

parent 1fd0f08b
......@@ -732,8 +732,8 @@ vmod_sub(VRT_CTX, VCL_STRING pattern, VCL_STRING text, VCL_STRING rewrite,
case_sensitive, perl_classes, word_boundary,
one_line))
!= NULL) {
VERR(ctx, "Cannot compile '%s': %s", pattern, text, rewrite,
fallback, pattern, err);
VERR(ctx, ERR_PREFIX "Cannot compile '%s': %s", pattern, text,
rewrite, fallback, pattern, err);
vre2_fini(&vre2);
return fallback;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment