Mercurial > hg > nginx
comparison src/os/unix/ngx_setproctitle.h @ 3285:3ba82806ec9a
use setproctitle("%s", title)
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 03 Nov 2009 16:28:21 +0000 |
parents | 417a087c9c4d |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
3284:c025e3525144 | 3285:3ba82806ec9a |
---|---|
11 #if (NGX_HAVE_SETPROCTITLE) | 11 #if (NGX_HAVE_SETPROCTITLE) |
12 | 12 |
13 /* FreeBSD, NetBSD, OpenBSD */ | 13 /* FreeBSD, NetBSD, OpenBSD */ |
14 | 14 |
15 #define ngx_init_setproctitle(log) | 15 #define ngx_init_setproctitle(log) |
16 #define ngx_setproctitle setproctitle | 16 #define ngx_setproctitle(title) setproctitle("%s", title) |
17 | 17 |
18 | 18 |
19 #else /* !NGX_HAVE_SETPROCTITLE */ | 19 #else /* !NGX_HAVE_SETPROCTITLE */ |
20 | 20 |
21 #if !defined NGX_SETPROCTITLE_USES_ENV | 21 #if !defined NGX_SETPROCTITLE_USES_ENV |