Fixed formatting in nxt_sprintf() and logging.

This commit is contained in:
Sergey Kandaurov
2018-01-24 15:16:33 +03:00
parent 67c64a99fb
commit 771e9d3cc3
19 changed files with 29 additions and 28 deletions

View File

@@ -1011,7 +1011,7 @@ next:
if (chmod(filename, access) != 0) {
ls->end = nxt_sprintf(ls->start, ls->end,
"chmod(\\\"%*s\\\") failed %E",
"chmod(\\\"%s\\\") failed %E",
filename, nxt_errno);
goto fail;
}