Fixed building on FreeBSD.

This commit is contained in:
Igor Sysoev 2017-03-14 19:03:49 +03:00
parent 979108f0ef
commit 3a8a4744b8
2 changed files with 2 additions and 2 deletions

View file

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

View file

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