diff options
Diffstat (limited to 'src/tty')
-rw-r--r-- | src/tty/ntapi_tty_client_session_query.c | 2 | ||||
-rw-r--r-- | src/tty/ntapi_tty_client_session_set.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tty/ntapi_tty_client_session_query.c b/src/tty/ntapi_tty_client_session_query.c index a57a1ee..bb2c550 100644 --- a/src/tty/ntapi_tty_client_session_query.c +++ b/src/tty/ntapi_tty_client_session_query.c @@ -34,7 +34,7 @@ int32_t __stdcall __ntapi_tty_client_session_query( sessioninfo->pid = msg.data.sessioninfo.pid; sessioninfo->pgid = msg.data.sessioninfo.pgid; sessioninfo->sid = msg.data.sessioninfo.sid; - sessioninfo->reserved = msg.data.sessioninfo.reserved; + sessioninfo->syspid = msg.data.sessioninfo.syspid; return NT_STATUS_SUCCESS; } diff --git a/src/tty/ntapi_tty_client_session_set.c b/src/tty/ntapi_tty_client_session_set.c index f929517..13667fd 100644 --- a/src/tty/ntapi_tty_client_session_set.c +++ b/src/tty/ntapi_tty_client_session_set.c @@ -29,7 +29,7 @@ int32_t __stdcall __ntapi_tty_client_session_set( msg.data.sessioninfo.pid = sessioninfo->pid; msg.data.sessioninfo.pgid = sessioninfo->pgid; msg.data.sessioninfo.sid = sessioninfo->sid; - msg.data.sessioninfo.reserved = sessioninfo->reserved; + msg.data.sessioninfo.syspid = sessioninfo->syspid; if ((status = __ntapi->zw_request_wait_reply_port(hport,&msg,&msg))) return status; |