ntdll: Fix offsetof syntax for IOCTL_AFD_WINE_GET_IRLMP_ENUMDEVICES.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gabriel Ivăncescu 2021-08-04 17:43:50 +03:00 committed by Alexandre Julliard
parent b2c89b1a41
commit 26724c3ef4
1 changed files with 1 additions and 1 deletions

View File

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