Browse files

unix: map EDQUOT to UV_ENOSPC

  • Loading branch information...
1 parent ea8db64 commit ff1cfb09ed10e8d32ff0a0625ebc41f6d1391916 @AvianFlu committed Sep 19, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/unix/error.c
View
1 src/unix/error.c
@@ -102,6 +102,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case ENOSPC: return UV_ENOSPC;
case EROFS: return UV_EROFS;
case ENOMEM: return UV_ENOMEM;
+ case EDQUOT: return UV_ENOSPC;
default: return UV_UNKNOWN;
}
UNREACHABLE();

0 comments on commit ff1cfb0

Please sign in to comment.