aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/zs
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2004-10-20 16:22:00 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2004-10-20 16:22:00 +0000
commit9b94662d599eff2ed10fd72233ad25b3bb5a1ff9 (patch)
tree9cc03f93c93ea4292ee7d1677d5a88278cf653fa /sys/dev/zs
parent49c2dc64da383c4ae862bbcc51e1dafd367fc4be (diff)
downloadsrc-9b94662d599eff2ed10fd72233ad25b3bb5a1ff9.tar.gz
src-9b94662d599eff2ed10fd72233ad25b3bb5a1ff9.zip
Fix a typo so that this compiles again.
Notes
Notes: svn path=/head/; revision=136728
Diffstat (limited to 'sys/dev/zs')
-rw-r--r--sys/dev/zs/zs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/zs/zs.c b/sys/dev/zs/zs.c
index eec675315568..41c6d8662957 100644
--- a/sys/dev/zs/zs.c
+++ b/sys/dev/zs/zs.c
@@ -468,7 +468,7 @@ zsttyopen(struct cdev *dev, int flags, int mode, struct thread *td)
sc->sc_preg[1] |= ZSWR1_RIE | ZSWR1_SIE;
sc->sc_iput = sc->sc_iget = sc->sc_ibuf;
- ttyconsolemode(t, 0);
+ ttyconsolemode(tp, 0);
/* Make sure zstty_param() will do something. */
tp->t_ospeed = 0;
(void)zstty_param(sc, tp, &t);