Log IoCreateFile errors as status strings rather than codes

This commit is contained in:
Luke Usher 2017-07-22 23:38:44 +01:00
parent c455b114e9
commit 0b1dea9ad1
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ XBSYSAPI EXPORTNUM(66) xboxkrnl::NTSTATUS NTAPI xboxkrnl::IoCreateFile
if (FAILED(ret))
{
EmuWarning("EmuKrnl: IoCreateFile Failed! (0x%.08X)\n", ret);
EmuWarning("EmuKrnl: IoCreateFile Failed! (%s)\n", NtStatusToString(ret));
}
else
{