summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-08-30 10:35:37 +0000
committerphk <phk@FreeBSD.org>1999-08-30 10:35:37 +0000
commitf62fb86505813bcad7aceda005424d83567de261 (patch)
treeeb6a6f9f7e6d9be56d75daa382c171128cd237fd /sys/dev/sio/sio.c
parentba9b2147f2de90df0db9e851b738a856dd742995 (diff)
downloadFreeBSD-src-f62fb86505813bcad7aceda005424d83567de261.zip
FreeBSD-src-f62fb86505813bcad7aceda005424d83567de261.tar.gz
s/si_tty_tty/si_tty/g
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 9620744..0cd84ba 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
OpenPOWER on IntegriCloud