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_GEN_FAILURE to UV_EIO
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Nov 7, 2012
1 parent 2affa60 commit f372fd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/win/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case ERROR_DISK_CORRUPT: return UV_EIO;
case ERROR_EOM_OVERFLOW: return UV_EIO;
case ERROR_FILEMARK_DETECTED: return UV_EIO;
case ERROR_GEN_FAILURE: return UV_EIO;
case ERROR_INVALID_BLOCK_LENGTH: return UV_EIO;
case ERROR_IO_DEVICE: return UV_EIO;
case ERROR_NO_DATA_DETECTED: return UV_EIO;
Expand Down

0 comments on commit f372fd4

Please sign in to comment.