summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_socket.c')
-rw-r--r--src/nxt_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_socket.c b/src/nxt_socket.c
index 529d7f7d..d7cdd600 100644
--- a/src/nxt_socket.c
+++ b/src/nxt_socket.c
@@ -101,7 +101,7 @@ nxt_socket_getsockopt(nxt_task_t *task, nxt_socket_t s, nxt_uint_t level,
nxt_log(task, NXT_LOG_CRIT, "getsockopt(%d, %ui, %s) failed %E",
s, level, nxt_socket_sockopt_name(level, sockopt),
- val, nxt_socket_errno);
+ nxt_socket_errno);
return -1;
}