Commit 0ddd1c9e authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

ntdll: Fix serial timeout regression.

parent 8af7be69
......@@ -968,7 +968,7 @@ NTSTATUS COMM_DeviceIoControl(HANDLE hDevice,
case IOCTL_SERIAL_GET_TIMEOUTS:
if (lpOutBuffer && nOutBufferSize == sizeof(SERIAL_TIMEOUTS))
{
if (!(status = get_timeouts(hDevice, (SERIAL_TIMEOUTS*)lpInBuffer)))
if (!(status = get_timeouts(hDevice, (SERIAL_TIMEOUTS*)lpOutBuffer)))
sz = sizeof(SERIAL_TIMEOUTS);
}
else
......
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