aboutsummaryrefslogtreecommitdiff
path: root/src/unix/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/core.c')
-rw-r--r--src/unix/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/core.c b/src/unix/core.c
index cfa65023..b74552ef 100644
--- a/src/unix/core.c
+++ b/src/unix/core.c
@@ -156,7 +156,7 @@ void uv_close(uv_handle_t* handle, uv_close_cb close_cb) {
break;
case UV_TTY:
- uv__stream_close((uv_stream_t*)handle);
+ uv__tty_close((uv_tty_t*)handle);
break;
case UV_TCP: