summaryrefslogtreecommitdiff
path: root/sys/dev/zs
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-07-15 20:47:41 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-07-15 20:47:41 +0000
commit672c05d49c9565187ba43fd37c632fd5960c04b5 (patch)
treecb8932d8c884d3a6cc8f7e0616a4bdfa7fe0e5ee /sys/dev/zs
parente65b8f47b37d55056175640b70f210b763a29f00 (diff)
Notes
Diffstat (limited to 'sys/dev/zs')
-rw-r--r--sys/dev/zs/zs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/zs/zs.c b/sys/dev/zs/zs.c
index 1c400eb0192d..ab13d09e2252 100644
--- a/sys/dev/zs/zs.c
+++ b/sys/dev/zs/zs.c
@@ -492,7 +492,7 @@ zsttyopen(struct cdev *dev, int flags, int mode, struct thread *td)
/* XXX handle initial DCD */
}
- error = ttyopen(dev, tp);
+ error = tty_open(dev, tp);
if (error != 0)
return (error);
@@ -514,7 +514,7 @@ zsttyclose(struct cdev *dev, int flags, int mode, struct thread *td)
return (0);
ttyld_close(tp, flags);
- ttyclose(tp);
+ tty_close(tp);
return (0);
}