comparison src/os/unix/ngx_process.c @ 6482:2b7dacb381ed

Fixed ngx_pid_t formatting in ngx_sprintf() and logging.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 31 Mar 2016 02:34:04 +0300
parents 593d344999f5
children 3a50ccd94333
comparison
equal deleted inserted replaced
6481:40bea39731d7 6482:2b7dacb381ed
620 if (kill(pid, sig->signo) != -1) { 620 if (kill(pid, sig->signo) != -1) {
621 return 0; 621 return 0;
622 } 622 }
623 623
624 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, 624 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno,
625 "kill(%P, %d) failed", pid, sig->signo); 625 "kill(%P, %d) failed", (ngx_pid_t) pid, sig->signo);
626 } 626 }
627 } 627 }
628 628
629 return 1; 629 return 1;
630 } 630 }