Commit 5689ec7b authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ntdll: Return a failure if the unix call funcs don't exist.

parent 33dddc84
......@@ -642,7 +642,7 @@ static NTSTATUS get_builtin_unix_funcs( void *module, BOOL wow, void **funcs )
{
if (builtin->module != module) continue;
*funcs = dlsym( builtin->unix_handle, ptr_name );
status = STATUS_SUCCESS;
status = *funcs ? STATUS_SUCCESS : STATUS_ENTRYPOINT_NOT_FOUND;
break;
}
server_leave_uninterrupted_section( &virtual_mutex, &sigset );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment