merge r3286:
use setproctitle("%s", title)
This commit is contained in:
parent
7ac538bd2a
commit
9d87953f67
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
||||||
/* FreeBSD, NetBSD, OpenBSD */
|
/* FreeBSD, NetBSD, OpenBSD */
|
||||||
|
|
||||||
#define ngx_init_setproctitle(log)
|
#define ngx_init_setproctitle(log)
|
||||||
#define ngx_setproctitle setproctitle
|
#define ngx_setproctitle(title) setproctitle("%s", title)
|
||||||
|
|
||||||
|
|
||||||
#else /* !NGX_HAVE_SETPROCTITLE */
|
#else /* !NGX_HAVE_SETPROCTITLE */
|
||||||
|
|
Loading…
Reference in a new issue