aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-06-07 20:45:45 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-06-07 20:45:45 +0000
commit5df76176f77e5acef4604d5c6440c8ededfc7355 (patch)
tree7b7bb3162ae4f20656b003b9c64c0b109c8d11d0 /sys/dev
parent3786c125c729a399cff1ba90ca5a540af21a203f (diff)
downloadsrc-5df76176f77e5acef4604d5c6440c8ededfc7355.tar.gz
src-5df76176f77e5acef4604d5c6440c8ededfc7355.zip
Make linesw[] an array of pointers to linedesc instead of an array of
linedisc.
Notes
Notes: svn path=/head/; revision=130203
Diffstat (limited to 'sys/dev')
-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 040d0c543a36..4341e5ae5653 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.