diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-11-03 16:28:21 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-11-03 16:28:21 +0000 |
commit | 1bc750da2fb51a1f92f42e2e0613985fb4f71b64 (patch) | |
tree | 476066729d44524b4aeaf16b680e568420911d48 /src/os/unix/ngx_setproctitle.h | |
parent | 89601c0f100013c59f17d66a7b23633cc23f1501 (diff) | |
download | nginx-1bc750da2fb51a1f92f42e2e0613985fb4f71b64.tar.gz nginx-1bc750da2fb51a1f92f42e2e0613985fb4f71b64.zip |
use setproctitle("%s", title)
Diffstat (limited to 'src/os/unix/ngx_setproctitle.h')
-rw-r--r-- | src/os/unix/ngx_setproctitle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_setproctitle.h b/src/os/unix/ngx_setproctitle.h index 22f7e3ea6..09973e990 100644 --- a/src/os/unix/ngx_setproctitle.h +++ b/src/os/unix/ngx_setproctitle.h @@ -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 */ |