Commit 26724c3e authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

ntdll: Fix offsetof syntax for IOCTL_AFD_WINE_GET_IRLMP_ENUMDEVICES.

parent b2c89b1a
......@@ -1976,7 +1976,7 @@ NTSTATUS sock_ioctl( HANDLE handle, HANDLE event, PIO_APC_ROUTINE apc, void *apc
if (needs_close) close( fd );
if (ret) return sock_errno_to_status( errno );
io->Information = offsetof( DEVICELIST, unix_list->len );
io->Information = offsetof( DEVICELIST, Device[unix_list->len] );
if (out_size < io->Information)
return STATUS_BUFFER_TOO_SMALL;
......
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