summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_pcre2.c
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2021-05-05 17:23:33 +0800
committerZhidao HONG <z.hong@f5.com>2021-05-05 17:23:33 +0800
commitde631d8c36cebdd69018dfa3ff145ba8b701a2d1 (patch)
tree05c2ca5675f30a810e2c43425dae81b10a6c5593 /src/nxt_pcre2.c
parent8bea2977bc292a9631512734ff6c46b62b24cf26 (diff)
downloadunit-de631d8c36cebdd69018dfa3ff145ba8b701a2d1.tar.gz
unit-de631d8c36cebdd69018dfa3ff145ba8b701a2d1.tar.bz2
Fixed format and arguments mismatches in error log messages.
Diffstat (limited to 'src/nxt_pcre2.c')
-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 {