[winpr,file] map EMFILE

This commit is contained in:
Armin Novak 2023-02-21 12:46:21 +01:00 committed by akallabeth
parent 10bf44c112
commit 62028f1488

View File

@ -761,6 +761,10 @@ UINT32 map_posix_err(int fs_errno)
rc = STATUS_DIRECTORY_NOT_EMPTY;
break;
case EMFILE:
rc = STATUS_TOO_MANY_OPENED_FILES;
break;
default:
WLog_ERR(TAG, "Missing ERRNO mapping %s [%d]", strerror(fs_errno), fs_errno);
rc = STATUS_UNSUCCESSFUL;