Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_setproctitle.c')
-rw-r--r--src/os/unix/ngx_setproctitle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_setproctitle.c b/src/os/unix/ngx_setproctitle.c
index 25bbc9b1e..712c22c98 100644
--- a/src/os/unix/ngx_setproctitle.c
+++ b/src/os/unix/ngx_setproctitle.c
@@ -88,7 +88,7 @@ ngx_setproctitle(char *title)
ngx_os_argv[1] = NULL;
- p = ngx_cpystrn((u_char *) ngx_os_argv[0], "nginx: ",
+ p = ngx_cpystrn((u_char *) ngx_os_argv[0], (u_char *) "nginx: ",
ngx_os_argv_last - ngx_os_argv[0]);
p = ngx_cpystrn(p, (u_char *) title, ngx_os_argv_last - (char *) p);