summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-08-30 11:50:16 -0700
committerMax Romanov <max.romanov@nginx.com>2017-08-30 11:50:16 -0700
commit9791b09ce35ca982cb04152847938124bb293cac (patch)
treea1496f99504905e5416a70ec066c119c735e3464
parenta81257984217a199db1b52377e7b1be5beadd9e9 (diff)
downloadunit-9791b09ce35ca982cb04152847938124bb293cac.tar.gz
unit-9791b09ce35ca982cb04152847938124bb293cac.tar.bz2
Fixed pid_file pattern misprint introduced in 231:6832cdee961e.
-rw-r--r--src/nxt_runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c
index ad999c88..cdaa72b6 100644
--- a/src/nxt_runtime.c
+++ b/src/nxt_runtime.c
@@ -741,7 +741,7 @@ nxt_runtime_conf_init(nxt_task_t *task, nxt_runtime_t *rt)
rt->engine = interface->name;
- ret = nxt_file_name_create(rt->mem_pool, &file_name, "s%Z", rt->pid);
+ ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s%Z", rt->pid);
if (nxt_slow_path(ret != NXT_OK)) {
return NXT_ERROR;
}