From 1bc750da2fb51a1f92f42e2e0613985fb4f71b64 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 3 Nov 2009 16:28:21 +0000 Subject: [PATCH] use setproctitle("%s", title) --- src/os/unix/ngx_setproctitle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */