diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2016-03-31 02:34:04 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2016-03-31 02:34:04 +0300 |
commit | 60a6551e1f28337f7b358719fe46d4c91409dbf3 (patch) | |
tree | 2bfaf1d39826f6970857d721fd8580e3d41853dc /src/os/unix/ngx_process.c | |
parent | 6a716c612378ea1673f38d3de9a467a47b5fe1ad (diff) | |
download | nginx-60a6551e1f28337f7b358719fe46d4c91409dbf3.tar.gz nginx-60a6551e1f28337f7b358719fe46d4c91409dbf3.zip |
Fixed ngx_pid_t formatting in ngx_sprintf() and logging.
Diffstat (limited to 'src/os/unix/ngx_process.c')
-rw-r--r-- | src/os/unix/ngx_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_process.c b/src/os/unix/ngx_process.c index 6f3f38556..ffc2a2a9c 100644 --- a/src/os/unix/ngx_process.c +++ b/src/os/unix/ngx_process.c @@ -622,7 +622,7 @@ ngx_os_signal_process(ngx_cycle_t *cycle, char *name, ngx_int_t pid) } ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, - "kill(%P, %d) failed", pid, sig->signo); + "kill(%P, %d) failed", (ngx_pid_t) pid, sig->signo); } } |