diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-03-14 19:03:49 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-03-14 19:03:49 +0300 |
commit | 3a8a4744b8496cc8f607b1a8e14c5f1f60628d38 (patch) | |
tree | 3e43cfb19507b5107aa71d26da36963f89a1c1a6 | |
parent | 979108f0ef30ad8053946c47d52f80efd06c2fee (diff) | |
download | unit-3a8a4744b8496cc8f607b1a8e14c5f1f60628d38.tar.gz unit-3a8a4744b8496cc8f607b1a8e14c5f1f60628d38.tar.bz2 |
Fixed building on FreeBSD.
-rw-r--r-- | src/nxt_master_process.c | 2 | ||||
-rw-r--r-- | src/nxt_process_title.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_master_process.c b/src/nxt_master_process.c index 12c61d16..e3d5382a 100644 --- a/src/nxt_master_process.c +++ b/src/nxt_master_process.c @@ -128,7 +128,7 @@ nxt_master_process_title(nxt_task_t *task) *p = '\0'; - nxt_process_title(task, (char *) title); + nxt_process_title(task, "%s", (char *) title); } diff --git a/src/nxt_process_title.c b/src/nxt_process_title.c index 3e72f772..3c20ac59 100644 --- a/src/nxt_process_title.c +++ b/src/nxt_process_title.c @@ -247,7 +247,7 @@ nxt_process_title(nxt_task_t *task, const char *fmt, ...) #else /* !(NXT_SETPROCTITLE_ARGV) */ void -nxt_process_arguments(char **orig_argv, char ***orig_envp) +nxt_process_arguments(nxt_task_t *task, char **orig_argv, char ***orig_envp) { nxt_process_argv = orig_argv; nxt_process_environ = orig_envp; |