Commit 532418b0 authored by André Zwing's avatar André Zwing Committed by Alexandre Julliard

ntoskrnl/tests: Use RtlNtStatusToDosErrorNoTeb() for stateless conversion.

parent 2ce7cee4
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment