summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_tty.c')
-rw-r--r--sys/netgraph/ng_tty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netgraph/ng_tty.c b/sys/netgraph/ng_tty.c
index 380bcdf..7b8eceb 100644
--- a/sys/netgraph/ng_tty.c
+++ b/sys/netgraph/ng_tty.c
@@ -445,8 +445,7 @@ ngt_start(struct tty *tp)
/* Call output process whether or not there is any output. We are
* being called in lieu of ttstart and must do what it would. */
- if (tp->t_oproc != NULL)
- (*tp->t_oproc) (tp);
+ tt_oproc(tp);
/* This timeout is needed for operation on a pseudo-tty, because the
* pty code doesn't call pppstart after it has drained the t_outq. */
OpenPOWER on IntegriCloud