ntoskrnl/tests: Use RtlNtStatusToDosErrorNoTeb() for stateless conversion.
This commit is contained in:
parent
2ce7cee4fc
commit
532418b091
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ static void do_return_status(ULONG ioctl, struct return_status_params *params)
|
|||
}
|
||||
else
|
||||
{
|
||||
ok(GetLastError() == RtlNtStatusToDosError(expect_status), "got error %lu\n", GetLastError());
|
||||
ok(GetLastError() == RtlNtStatusToDosErrorNoTeb(expect_status), "got error %lu\n", GetLastError());
|
||||
}
|
||||
if (NT_ERROR(expect_status))
|
||||
ok(size == 0xdeadf00d, "got size %lu\n", size);
|
||||
|
|
Loading…
Add table
Reference in a new issue