summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-10-20 16:22:00 +0000
committerjhb <jhb@FreeBSD.org>2004-10-20 16:22:00 +0000
commit9f51695cbf05a54b7bcbe38faf4be5903ded2338 (patch)
tree9cc03f93c93ea4292ee7d1677d5a88278cf653fa /sys
parent62754bb686a7499570209037761399827442224d (diff)
downloadFreeBSD-src-9f51695cbf05a54b7bcbe38faf4be5903ded2338.zip
FreeBSD-src-9f51695cbf05a54b7bcbe38faf4be5903ded2338.tar.gz
Fix a typo so that this compiles again.
Diffstat (limited to 'sys')
-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 eec6753..41c6d86 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);
OpenPOWER on IntegriCloud