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

Commit

Permalink
Map ENOMEM to UV_ENOMEM
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs authored and piscisaureus committed Apr 28, 2012
1 parent 109dcb2 commit b26fdde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/error.c
Expand Up @@ -96,6 +96,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case ENOTEMPTY: return UV_ENOTEMPTY;
case ENOSPC: return UV_ENOSPC;
case EROFS: return UV_EROFS;
case ENOMEM: return UV_ENOMEM;
default: return UV_UNKNOWN;
}
UNREACHABLE();
Expand Down

0 comments on commit b26fdde

Please sign in to comment.