diff options
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/ptyc_console_alloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/console/ptyc_console_alloc.c b/src/console/ptyc_console_alloc.c index 16d1f80..16fb139 100644 --- a/src/console/ptyc_console_alloc.c +++ b/src/console/ptyc_console_alloc.c @@ -19,10 +19,12 @@ int ptyc_console_reader(void *); int ptyc_console_writer(void *);; int ptyc_console_poller(void *); +int ptyc_dbg_cat(struct ptyc_driver_ctx *); int ptyc_dbg_event(void *); int ptyc_dbg_oven(void *); int ptyc_dbg_raw(void *); + struct ptyc_loop_thread_ctx { nt_thread_start_routine * entry; struct ptyc_driver_ctx_impl * ictx; @@ -192,6 +194,9 @@ int ptyc_alloc_console(struct ptyc_driver_ctx * dctx) ictx,ptyc_dbg_raw))) return ptyc_set_status(dctx,status); + if ((status = ptyc_dbg_cat(dctx))) + return ptyc_set_status(dctx,status); + return ptyc_set_status(dctx,NT_STATUS_SUCCESS); } |