summaryrefslogtreecommitdiffhomepage
path: root/src/pty/ntapi_pty_fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pty/ntapi_pty_fd.c')
-rw-r--r--src/pty/ntapi_pty_fd.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/pty/ntapi_pty_fd.c b/src/pty/ntapi_pty_fd.c
index 8d21fd0..45a58ff 100644
--- a/src/pty/ntapi_pty_fd.c
+++ b/src/pty/ntapi_pty_fd.c
@@ -280,15 +280,11 @@ int32_t __stdcall __ntapi_pty_inherit(
nt_pty_inherit_info inherit;
nt_pty * ctx;
- inherit.any[0] = client_info->any[0];
- inherit.any[1] = client_info->any[1];
- inherit.any[2] = client_info->any[2];
- inherit.any[3] = client_info->any[3];
-
- if ((status = __ntapi_pty_query(
+ if ((status = __ntapi_pty_xquery(
hport,&iosb,
&inherit,sizeof(inherit),
- NT_PTY_INHERIT_INFORMATION)))
+ NT_PTY_INHERIT_INFORMATION,
+ client_info)))
return status;
/* control block */