use setproctitle("%s", title)

This commit is contained in:
Igor Sysoev 2009-11-03 16:28:21 +00:00
parent 89601c0f10
commit 1bc750da2f

View File

@ -13,7 +13,7 @@
/* FreeBSD, NetBSD, OpenBSD */
#define ngx_init_setproctitle(log)
#define ngx_setproctitle setproctitle
#define ngx_setproctitle(title) setproctitle("%s", title)
#else /* !NGX_HAVE_SETPROCTITLE */