summaryrefslogtreecommitdiffhomepage
path: root/src/sem
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-09-08 23:39:40 -0400
committermidipix <writeonce@midipix.org>2017-09-08 23:39:40 -0400
commit808b639bb894cd36381715e603e067a5725c1760 (patch)
tree469930f0cb03e5a6f1b13e9d36a6baa57f17ab33 /src/sem
parent47f21a54cf74e2ec0fc7aa7e3ee06ab5087600a6 (diff)
downloadntapi-808b639bb894cd36381715e603e067a5725c1760.tar.bz2
ntapi-808b639bb894cd36381715e603e067a5725c1760.tar.xz
subsystem interfaces: optimized struct _nt_sem_info.
Diffstat (limited to 'src/sem')
-rw-r--r--src/sem/ntapi_sem_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sem/ntapi_sem_ioctl.c b/src/sem/ntapi_sem_ioctl.c
index 2e7ac37..9735dfc 100644
--- a/src/sem/ntapi_sem_ioctl.c
+++ b/src/sem/ntapi_sem_ioctl.c
@@ -98,7 +98,7 @@ int32_t __stdcall __ntapi_sem_ioctl(
msg.data.seminfo.section_addr = secaddr;
msg.data.seminfo.section_size = input_buffer_length;
- msg.data.seminfo.hevent[0] = hevent;
+ msg.data.seminfo.hevent = hevent;
msg.data.seminfo.apc_routine = apc_routine;
msg.data.seminfo.apc_context = apc_context;
msg.data.seminfo.riosb = iosb;