summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/zs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/zs.c')
-rw-r--r--sys/arch/sparc/dev/zs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/zs.c b/sys/arch/sparc/dev/zs.c
index 1dc749bb4c7..718d3a266aa 100644
--- a/sys/arch/sparc/dev/zs.c
+++ b/sys/arch/sparc/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.12 1996/08/12 03:14:49 downsj Exp $ */
+/* $OpenBSD: zs.c,v 1.13 1996/08/12 18:54:05 deraadt Exp $ */
/* $NetBSD: zs.c,v 1.37.4.1 1996/06/02 09:07:55 mrg Exp $ */
/*
@@ -304,7 +304,7 @@ zsattach(parent, dev, aux)
cs->cs_unit = unit;
cs->cs_speed = zs_getspeed(&addr->zs_chan[ZS_CHAN_A]);
cs->cs_zc = &addr->zs_chan[ZS_CHAN_A];
- if ((ctp = zs_checkcons(zi, unit, cs)) != NULL)
+ if ((ctp = zs_checkcons(sc, unit, cs)) != NULL)
tp = ctp;
else {
tp = ttymalloc();
@@ -340,7 +340,7 @@ zsattach(parent, dev, aux)
cs->cs_unit = unit;
cs->cs_speed = zs_getspeed(&addr->zs_chan[ZS_CHAN_B]);
cs->cs_zc = &addr->zs_chan[ZS_CHAN_B];
- if ((ctp = zs_checkcons(zi, unit, cs)) != NULL)
+ if ((ctp = zs_checkcons(sc, unit, cs)) != NULL)
tp = ctp;
else {
tp = ttymalloc();