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 committed Apr 20, 2012
1 parent d68b3d9 commit f9fcaf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/error.c
Expand Up @@ -91,6 +91,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case EBUSY: return UV_EBUSY;
case ENOTEMPTY: return UV_ENOTEMPTY;
case ENOSPC: return UV_ENOSPC;
case ENOMEM: return UV_ENOMEM;
default: return UV_UNKNOWN;
}

Expand Down

0 comments on commit f9fcaf5

Please sign in to comment.