Added missing stream argument to error message.

Found by Coverity (CID 353386).
This commit is contained in:
Max Romanov
2020-02-03 11:14:06 +03:00
parent 224549a578
commit 51120e06e3

View File

@@ -871,7 +871,8 @@ nxt_unit_process_new_port(nxt_unit_ctx_t *ctx, nxt_unit_recv_msg_t *recv_msg)
if (nxt_slow_path(ioctl(recv_msg->fd, FIONBIO, &nb) == -1)) {
nxt_unit_alert(ctx, "#%"PRIu32": new_port: ioctl(%d, FIONBIO, 0) "
"failed: %s (%d)", recv_msg->fd, strerror(errno), errno);
"failed: %s (%d)",
recv_msg->stream, recv_msg->fd, strerror(errno), errno);
return NXT_UNIT_ERROR;
}