summaryrefslogtreecommitdiffhomepage
path: root/src/pty/ptyc_spawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pty/ptyc_spawn.c')
-rw-r--r--src/pty/ptyc_spawn.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pty/ptyc_spawn.c b/src/pty/ptyc_spawn.c
index 93b8237..9ad8e9b 100644
--- a/src/pty/ptyc_spawn.c
+++ b/src/pty/ptyc_spawn.c
@@ -62,9 +62,7 @@ int __stdcall ptyc_spawn(struct ptyc_driver_ctx * dctx)
if (!dctx->cctx->eargv)
return NT_STATUS_SUCCESS;
- if ((status = ntapi->tt_get_runtime_data(&self,0)))
- return status;
-
+ self = ictx->rtdata;
clctx = &ictx->clctx;
/* hat */