summaryrefslogtreecommitdiffstats
path: root/sys/dev/cx
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-07 20:45:45 +0000
committerphk <phk@FreeBSD.org>2004-06-07 20:45:45 +0000
commitbfb13da83136c5d9301591fe777eef0d80120494 (patch)
tree7b7bb3162ae4f20656b003b9c64c0b109c8d11d0 /sys/dev/cx
parent635c1632db24421811a7cba130edd3d8f77b8255 (diff)
downloadFreeBSD-src-bfb13da83136c5d9301591fe777eef0d80120494.zip
FreeBSD-src-bfb13da83136c5d9301591fe777eef0d80120494.tar.gz
Make linesw[] an array of pointers to linedesc instead of an array of
linedisc.
Diffstat (limited to 'sys/dev/cx')
-rw-r--r--sys/dev/cx/if_cx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c
index 040d0c5..4341e5a 100644
--- a/sys/dev/cx/if_cx.c
+++ b/sys/dev/cx/if_cx.c
@@ -1430,7 +1430,7 @@ static void cx_receive (cx_chan_t *c, char *data, int len)
&& (!(tp->t_iflag & PARMRK)\
|| (tp->t_iflag & (IGNPAR | IGNBRK)) == (IGNPAR | IGNBRK))\
&& !(t->c_lflag & (ECHO | ICANON | IEXTEN | ISIG | PENDIN))\
- && linesw[tp->t_line].l_rint == ttyinput)
+ && linesw[tp->t_line]->l_rint == ttyinput)
/*
* Error callback function.
OpenPOWER on IntegriCloud