Commit 3f3f673c authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Print the version mismatch error from the Unix side.

parent 4b0f2eb6
......@@ -4108,7 +4108,7 @@ static NTSTATUS process_init(void)
*/
NTSTATUS CDECL __wine_set_unix_funcs( int version, const struct unix_funcs *funcs )
{
assert( version == NTDLL_UNIXLIB_VERSION );
if (version != NTDLL_UNIXLIB_VERSION) return STATUS_REVISION_MISMATCH;
unix_funcs = funcs;
return process_init();
}
......@@ -701,6 +701,9 @@ done:
case STATUS_INVALID_IMAGE_NOT_MZ:
ERR( "%s not supported on this system\n", debugstr_us(&params->ImagePathName) );
break;
case STATUS_REVISION_MISMATCH:
ERR( "ntdll library version mismatch\n" );
break;
default:
ERR( "failed to load %s error %x\n", debugstr_us(&params->ImagePathName), status );
break;
......
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