1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

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

This commit is contained in:
André Zwing 2023-12-27 16:35:02 +01:00 committed by Alexandre Julliard
parent 2ce7cee4fc
commit 532418b091

View file

@ -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);