summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_devpoll_engine.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_devpoll_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_devpoll_engine.c b/src/nxt_devpoll_engine.c
index faa6368a..07b08189 100644
--- a/src/nxt_devpoll_engine.c
+++ b/src/nxt_devpoll_engine.c
@@ -154,7 +154,7 @@ nxt_devpoll_free(nxt_event_engine_t *engine)
nxt_debug(&engine->task, "devpoll %d free", fd);
- if (fd != -1 &&close(fd) != 0) {
+ if (fd != -1 && close(fd) != 0) {
nxt_log(&engine->task, NXT_LOG_CRIT, "devpoll close(%d) failed %E",
fd, nxt_errno);
}