summaryrefslogtreecommitdiff
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-08-30 10:35:37 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-08-30 10:35:37 +0000
commitc5b72c3d85169e442d9a11b19e6e02c03beff5f1 (patch)
tree15f91f6018e39795d784e12af601b7fb915b54e3 /sys/dev/sio/sio.c
parent291e7c65a6e4be027194ea018e87b9eda6674a87 (diff)
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r--sys/dev/sio/sio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 962074416053..0cd84baddd4f 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -1160,7 +1160,7 @@ sioopen(dev, flag, mode, p)
return (ENXIO);
if (mynor & CONTROL_MASK)
return (0);
- tp = dev->si_tty_tty = com->tp = ttymalloc(com->tp);
+ tp = dev->si_tty = com->tp = ttymalloc(com->tp);
s = spltty();
/*
* We jump to this label after all non-interrupted sleeps to pick
@@ -2431,7 +2431,7 @@ siodevtotty(dev)
unit = MINOR_TO_UNIT(mynor);
if ((u_int) unit >= NSIOTOT)
return (NULL);
- return (dev->si_tty_tty);
+ return (dev->si_tty);
}
static int