mirror of
https://github.com/nginx/nginx.git
synced 2025-06-08 02:02:38 +08:00
use setproctitle("%s", title)
This commit is contained in:
parent
89601c0f10
commit
1bc750da2f
@ -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 New Issue
Block a user