Fixed building on FreeBSD.
This commit is contained in:
parent
979108f0ef
commit
3a8a4744b8
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue