diff --git a/src/child_process.cc b/src/child_process.cc index acdb043ccd..3545584841 100644 --- a/src/child_process.cc +++ b/src/child_process.cc @@ -305,7 +305,7 @@ int ChildProcess::Write(const char *str, size_t len) { int ChildProcess::Close(void) { if (stdin_fd_ < 0 || got_chld_) return -1; - evcom_writer_close(EV_DEFAULT_UC_ &stdin_writer_); + evcom_writer_close(&stdin_writer_); return 0; }