Skip to content

Commit

Permalink
Print handle types
Browse files Browse the repository at this point in the history
  • Loading branch information
momo5502 committed Dec 21, 2024
1 parent ce6cb01 commit 61d9979
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/windows-emulator/syscalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2591,7 +2591,8 @@ namespace

if (h.value.type != handle_types::thread && h.value.type != handle_types::event)
{
c.win_emu.logger.print(color::gray, "Unsupported handle type for NtWaitForMultipleObjects!\n");
c.win_emu.logger.print(color::gray, "Unsupported handle type for NtWaitForMultipleObjects: %d!\n",
h.value.type);
return STATUS_NOT_SUPPORTED;
}
}
Expand All @@ -2616,7 +2617,8 @@ namespace

if (h.value.type != handle_types::thread && h.value.type != handle_types::event)
{
c.win_emu.logger.print(color::gray, "Unsupported handle type for NtWaitForSingleObject!\n");
c.win_emu.logger.print(color::gray,
"Unsupported handle type for NtWaitForSingleObject: %d!\n", h.value.type);
return STATUS_NOT_SUPPORTED;
}

Expand Down

0 comments on commit 61d9979

Please sign in to comment.