summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-12 18:54:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-12 18:54:06 +0000
commit804d9d35f3f60d5823371f6974f769b659406a17 (patch)
tree8ea0dac275cdc104ebf2b9d5bc634bda02de4911 /sys
parent45c8132688464801bec4a0bb183b3fd8dc1020ed (diff)
one last fix
Diffstat (limited to 'sys')
-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();