]> git.kaiwu.me - nginx.git/commitdiff
grammar fix
authorIgor Sysoev <igor@sysoev.ru>
Wed, 9 Apr 2008 19:09:13 +0000 (19:09 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 9 Apr 2008 19:09:13 +0000 (19:09 +0000)
src/os/unix/ngx_process.c

index 9bd78f78e4fa588e5622d9d5ecaeedac7eb64752..ca3eae108b7d5c13de8cf2287957c5db5c18a13b 100644 (file)
@@ -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;
         }
     }