Added ENOEXEC error code.

This commit is contained in:
Alexandre Julliard 2000-05-01 16:20:23 +00:00
parent 95a4332f32
commit 045d81f16c
1 changed files with 4 additions and 1 deletions

View File

@ -292,8 +292,11 @@ void FILE_SetDosError(void)
case ENOTEMPTY:
SetLastError( ERROR_DIR_NOT_EMPTY );
break;
case ENOEXEC:
SetLastError( ERROR_BAD_FORMAT );
break;
default:
perror( "int21: unknown errno" );
perror( "FILE_SetDosError: unknown errno" );
SetLastError( ERROR_GEN_FAILURE );
break;
}