aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/sys/linedisc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h
index 7fb8732b91bb..5f9cbaf2fe0e 100644
--- a/sys/sys/linedisc.h
+++ b/sys/sys/linedisc.h
@@ -81,10 +81,10 @@ l_read_t l_noread;
l_write_t l_nowrite;
static __inline int
-ttyld_open(struct tty *tp)
+ttyld_open(struct tty *tp, dev_t dev)
{
- return ((*linesw[tp->t_line].l_open)(tp->t_dev, tp));
+ return ((*linesw[tp->t_line].l_open)(dev, tp));
}
static __inline int