From 771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Wed, 24 Jan 2018 15:16:33 +0300 Subject: Fixed formatting in nxt_sprintf() and logging. --- src/nxt_main_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_main_process.c') diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index af72c111..f50475ed 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -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; } -- cgit