summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_pcre2.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_pcre2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_pcre2.c b/src/nxt_pcre2.c
index 22c4d2d4..cb51062c 100644
--- a/src/nxt_pcre2.c
+++ b/src/nxt_pcre2.c
@@ -144,7 +144,7 @@ nxt_regex_match(nxt_regex_t *re, u_char *subject, size_t length,
if (pcre2_get_error_message(ret, errptr, ERR_BUF_SIZE) < 0) {
nxt_thread_log_error(NXT_LOG_ERR,
"pcre2_match() failed: %d on \"%*s\" "
- "using \"%V\"", ret, subject, length, subject,
+ "using \"%V\"", ret, length, subject,
&re->pattern);
} else {