ntdll: Print the version mismatch error from the Unix side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4b0f2eb6e5
commit
3f3f673c29
|
@ -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(¶ms->ImagePathName) );
|
||||
break;
|
||||
case STATUS_REVISION_MISMATCH:
|
||||
ERR( "ntdll library version mismatch\n" );
|
||||
break;
|
||||
default:
|
||||
ERR( "failed to load %s error %x\n", debugstr_us(¶ms->ImagePathName), status );
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue