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

Commit

Permalink
Browse files Browse the repository at this point in the history
report correct error
  • Loading branch information
Igor Zinkovsky committed May 22, 2012
1 parent 0ef7844 commit 253d718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/fs.c
Expand Up @@ -855,7 +855,7 @@ void fs__create_junction(uv_fs_t* req, const wchar_t* path, const wchar_t* new_p

if (!is_absolute) {
/* Not supporting relative paths */
SET_REQ_UV_ERROR(req, EINVAL, ERROR_NOT_SUPPORTED);
SET_REQ_UV_ERROR(req, UV_EINVAL, ERROR_NOT_SUPPORTED);
return;
}

Expand Down

0 comments on commit 253d718

Please sign in to comment.