summaryrefslogtreecommitdiffstats
path: root/sys/dev/snp
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/snp')
-rw-r--r--sys/dev/snp/snp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c
index a352707..6103a5d 100644
--- a/sys/dev/snp/snp.c
+++ b/sys/dev/snp/snp.c
@@ -52,7 +52,7 @@ static struct cdevsw snp_cdevsw = {
};
static struct linesw snpdisc = {
- .l_open = ttyopen,
+ .l_open = tty_open,
.l_close = snplclose,
.l_read = ttread,
.l_write = snplwrite,
OpenPOWER on IntegriCloud