mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 09:57:34 +00:00
Print status codes in hex.
This commit is contained in:
parent
08264e679d
commit
0fb0f2a306
|
@ -240,7 +240,7 @@ static WINE_MODREF *import_dll( HMODULE module, IMAGE_IMPORT_DESCRIPTOR *descr )
|
||||||
ERR("Module (file) %s (which is needed by %s) not found\n",
|
ERR("Module (file) %s (which is needed by %s) not found\n",
|
||||||
name, current_modref->filename);
|
name, current_modref->filename);
|
||||||
else
|
else
|
||||||
ERR("Loading module (file) %s (which is needed by %s) failed (error %ld).\n",
|
ERR("Loading module (file) %s (which is needed by %s) failed (error %lx).\n",
|
||||||
name, current_modref->filename, status);
|
name, current_modref->filename, status);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -1126,7 +1126,7 @@ static NTSTATUS load_dll( LPCSTR libname, DWORD flags, WINE_MODREF** pwm )
|
||||||
|
|
||||||
if (nts != STATUS_NO_SUCH_FILE)
|
if (nts != STATUS_NO_SUCH_FILE)
|
||||||
{
|
{
|
||||||
WARN("Loading of %s DLL %s failed (status %ld).\n",
|
WARN("Loading of %s DLL %s failed (status %lx).\n",
|
||||||
filetype, filename, nts);
|
filetype, filename, nts);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1139,7 +1139,7 @@ static NTSTATUS load_dll( LPCSTR libname, DWORD flags, WINE_MODREF** pwm )
|
||||||
libdir = NULL;
|
libdir = NULL;
|
||||||
}
|
}
|
||||||
RtlLeaveCriticalSection( &loader_section );
|
RtlLeaveCriticalSection( &loader_section );
|
||||||
WARN("Failed to load module '%s'; status=%ld\n", filename, nts);
|
WARN("Failed to load module '%s'; status=%lx\n", filename, nts);
|
||||||
RtlFreeHeap( ntdll_get_process_heap(), 0, filename );
|
RtlFreeHeap( ntdll_get_process_heap(), 0, filename );
|
||||||
return nts;
|
return nts;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue