summaryrefslogtreecommitdiffhomepage
path: root/src/pty
diff options
context:
space:
mode:
Diffstat (limited to 'src/pty')
-rw-r--r--src/pty/ntapi_pty_fd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pty/ntapi_pty_fd.c b/src/pty/ntapi_pty_fd.c
index 8e6110d..58116df 100644
--- a/src/pty/ntapi_pty_fd.c
+++ b/src/pty/ntapi_pty_fd.c
@@ -222,6 +222,7 @@ int32_t __stdcall __ntapi_pty_open(
/* pts */
if (obj_attr->root_dir) {
+ ctx->hpty = ((nt_pty *)obj_attr->root_dir)->hpty;
ctx->luid.high = ((nt_pty *)obj_attr->root_dir)->luid.high;
ctx->luid.low = ((nt_pty *)obj_attr->root_dir)->luid.low;
}