summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-04 16:01:12 +0000
committerphk <phk@FreeBSD.org>2004-06-04 16:01:12 +0000
commit958f9d7c7609eaa9fcabd83035ded33f80da2f0d (patch)
treede4927d7bf70f62ab44dc4a645749a0cad243626
parent0cd8626a9e713fa77653c5a005a4fd4b90fbacc5 (diff)
downloadFreeBSD-src-958f9d7c7609eaa9fcabd83035ded33f80da2f0d.zip
FreeBSD-src-958f9d7c7609eaa9fcabd83035ded33f80da2f0d.tar.gz
It is probably too early to drop the dev_t argument for the ttyld_open()
function.
-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 7fb8732..5f9cbaf 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
OpenPOWER on IntegriCloud