Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Windows: map ERROR_NOT_SAME_DEVICE to UV_EXDEV
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed May 1, 2012
1 parent e2b6f42 commit 32f6f6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/win/error.c
Expand Up @@ -128,6 +128,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case WSAETIMEDOUT: return UV_ETIMEDOUT;
case WSAHOST_NOT_FOUND: return UV_ENOENT;
case WSAENOTSOCK: return UV_ENOTSOCK;
case ERROR_NOT_SAME_DEVICE: return UV_EXDEV;
default: return UV_UNKNOWN;
}
}
Expand Down

0 comments on commit 32f6f6e

Please sign in to comment.