summaryrefslogtreecommitdiff
path: root/ext/node/ops/winerror.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/ops/winerror.rs')
-rw-r--r--ext/node/ops/winerror.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/ops/winerror.rs b/ext/node/ops/winerror.rs
index e9dbadb6f..cb053774e 100644
--- a/ext/node/ops/winerror.rs
+++ b/ext/node/ops/winerror.rs
@@ -62,7 +62,7 @@ pub fn op_node_sys_to_uv_error(err: i32) -> String {
WSAEHOSTUNREACH => "EHOSTUNREACH",
ERROR_INSUFFICIENT_BUFFER => "EINVAL",
ERROR_INVALID_DATA => "EINVAL",
- ERROR_INVALID_NAME => "EINVAL",
+ ERROR_INVALID_NAME => "ENOENT",
ERROR_INVALID_PARAMETER => "EINVAL",
WSAEINVAL => "EINVAL",
WSAEPFNOSUPPORT => "EINVAL",