diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2010-02-01 15:32:57 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2010-02-01 15:32:57 +0000 |
| commit | 848cc35a653e893add69b580c864d0cd8b419860 (patch) | |
| tree | 25431b5131bfdc7541d5f7eb9607fac7a755b9c3 | |
| parent | 30a57a1262b93ef60405285d206388caa6ad8081 (diff) | |
| download | nginx-848cc35a653e893add69b580c864d0cd8b419860.tar.gz nginx-848cc35a653e893add69b580c864d0cd8b419860.tar.bz2 | |
merge r3286:
use setproctitle("%s", title)
| -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 */ |
