Skip to content

Commit

Permalink
wasi_convert_errno: add ENOMEM
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jun 16, 2023
1 parent 191c339 commit b71fa2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libwasi/wasi.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,9 @@ wasi_convert_errno(int host_errno)
case ENOENT:
wasmerrno = 44;
break;
case ENOMEM:
wasmerrno = 48;
break;
case ENOTDIR:
wasmerrno = 54;
break;
Expand Down

0 comments on commit b71fa2d

Please sign in to comment.