summaryrefslogtreecommitdiffstats
path: root/src/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.c')
-rw-r--r--src/run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run.c b/src/run.c
index 3f1eb2d..fa50a3f 100644
--- a/src/run.c
+++ b/src/run.c
@@ -340,7 +340,7 @@ static int run_setup(struct lt_config_app *cfg,
/* new thread notification descriptor */
if (lt_sh(cfg, pipe) &&
- (-1 == (pa->fd_notify = lt_fifo_notify_fd(cfg, pa->dir))))
+ (-1 == (pa->fd_notify = lt_fifo_notify_init(cfg, pa->dir))))
return -1;
/* tty master descriptor */
@@ -355,7 +355,7 @@ static void run_cleanup(struct lt_config_app *cfg,
struct lt_process_args *pa)
{
if (lt_sh(cfg, pipe))
- close(pa->fd_notify);
+ lt_fifo_notify_cleanup(cfg);
if (cfg->output_tty)
tty_close(cfg);