Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-04-09 23:09:13 +0400
committerIgor Sysoev <igor@sysoev.ru>2008-04-09 23:09:13 +0400
commitd52c878692f4a0dde54cb4bf76be1d0a7689b14e (patch)
treedb5f978a02298ea2e454933e582cbedd8eb8394a
parent693bf6db1e0133233d7213f7e472a54eba81b0e9 (diff)
grammar fix
-rw-r--r--src/os/unix/ngx_process.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/os/unix/ngx_process.c b/src/os/unix/ngx_process.c
index 9bd78f78e..ca3eae108 100644
--- a/src/os/unix/ngx_process.c
+++ b/src/os/unix/ngx_process.c
@@ -452,7 +452,7 @@ ngx_process_get_status(void)
*
* When several processes exit at the same time FreeBSD may
* erroneously call the signal handler for exited process
- * despite waitpid() may be already called for this process
+ * despite waitpid() may be already called for this process.
*/
if (err == NGX_ECHILD) {
@@ -507,8 +507,9 @@ ngx_process_get_status(void)
if (WEXITSTATUS(status) == 2 && ngx_processes[i].respawn) {
ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0,
- "%s %P exited with fatal code %d and could not respawn",
- process, pid, WEXITSTATUS(status));
+ "%s %P exited with fatal code %d "
+ "and can not be respawn",
+ process, pid, WEXITSTATUS(status));
ngx_processes[i].respawn = 0;
}
}