report correct error
This commit is contained in:
parent
0ef7844b87
commit
253d718572
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user