diff options
author | Zhidao HONG <z.hong@f5.com> | 2021-05-05 17:23:33 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2021-05-05 17:23:33 +0800 |
commit | de631d8c36cebdd69018dfa3ff145ba8b701a2d1 (patch) | |
tree | 05c2ca5675f30a810e2c43425dae81b10a6c5593 /src/nxt_http_static.c | |
parent | 8bea2977bc292a9631512734ff6c46b62b24cf26 (diff) | |
download | unit-de631d8c36cebdd69018dfa3ff145ba8b701a2d1.tar.gz unit-de631d8c36cebdd69018dfa3ff145ba8b701a2d1.tar.bz2 |
Fixed format and arguments mismatches in error log messages.
Diffstat (limited to 'src/nxt_http_static.c')
-rw-r--r-- | src/nxt_http_static.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_http_static.c b/src/nxt_http_static.c index fe3e19cc..e603819b 100644 --- a/src/nxt_http_static.c +++ b/src/nxt_http_static.c @@ -192,11 +192,11 @@ nxt_http_static_handler(nxt_task_t *task, nxt_http_request_t *r, if (status != NXT_HTTP_NOT_FOUND) { if (chroot->length > 0) { - nxt_log(task, level, "opening \"%FN\" at \"%FN\" failed %E", + nxt_log(task, level, "opening \"%s\" at \"%V\" failed %E", fname, chroot, file.error); } else { - nxt_log(task, level, "opening \"%FN\" failed %E", + nxt_log(task, level, "opening \"%s\" failed %E", fname, file.error); } } |