Klaus Demo nginx / 1bc750d
use setproctitle("%s", title) Igor Sysoev 12 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1212 /* FreeBSD, NetBSD, OpenBSD */
1313
1414 #define ngx_init_setproctitle(log)
15 #define ngx_setproctitle setproctitle
15 #define ngx_setproctitle(title) setproctitle("%s", title)
1616
1717
1818 #else /* !NGX_HAVE_SETPROCTITLE */