summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2017-07-11 20:06:52 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2017-07-11 20:06:52 +0300
commit4f351d9b261935fffb37b69e9ac98ea2bb461094 (patch)
treefb2dd59d02b4ce3b7853119f9cfa30f3cc21d9e3
parentcff518295514b19f2ac5db8bd887c2124845dea0 (diff)
Core: fixed error message on setsockopt(SO_REUSEPORT) failure.
The error is fatal when configuring a new socket, so the ", ignored" part is not appropriate and was removed.
-rw-r--r--src/core/ngx_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index 046098f1a..9b7071d2a 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -483,7 +483,7 @@ ngx_open_listening_sockets(ngx_cycle_t *cycle)
== -1)
{
ngx_log_error(NGX_LOG_EMERG, log, ngx_socket_errno,
- "setsockopt(SO_REUSEPORT) %V failed, ignored",
+ "setsockopt(SO_REUSEPORT) %V failed",
&ls[i].addr_text);
if (ngx_close_socket(s) == -1) {