Fixed format and arguments mismatches in error log messages.

This commit is contained in:
Zhidao HONG
2021-05-05 17:23:33 +08:00
parent 8bea2977bc
commit de631d8c36
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
}
}