aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_setproctitle.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-04-08 15:18:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-04-08 15:18:55 +0000
commit02f742b45eb8792053d3880641f45651d645e351 (patch)
tree1d5893bcc89c8f879712aa80f9a98a42f397e2c0 /src/os/unix/ngx_setproctitle.c
parent87ff72436d289ae7b72a23138262e6d156490927 (diff)
downloadnginx-02f742b45eb8792053d3880641f45651d645e351.tar.gz
nginx-02f742b45eb8792053d3880641f45651d645e351.zip
nginx-0.1.28-RELEASE importrelease-0.1.28
*) Bugfix: nginx hogs CPU while proxying the huge files. *) Bugfix: nginx could not be built by gcc 4.0 on Linux.
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);