diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pty/ntapi_pty_fd.c | 1 |
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; } |