Skip to content

Commit 698eaf2

Browse files
committed
posix_nifs: Add ENOTEMPTY errno mapping
Signed-off-by: Davide Bettio <davide@uninstall.it>
1 parent d24920e commit 698eaf2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/libAtomVM/posix_nifs.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ term posix_errno_to_term(int err, GlobalContext *glb)
166166
case EOPNOTSUPP:
167167
result = globalcontext_make_atom(glb, ATOM_STR("\xA", "eopnotsupp"));
168168
break;
169+
case ENOTEMPTY:
170+
result = globalcontext_make_atom(glb, ATOM_STR("\x9", "enotempty"));
171+
break;
169172
default:
170173
return term_from_int(err);
171174
}

0 commit comments

Comments
 (0)