summaryrefslogtreecommitdiff
path: root/sys/dev/cx
diff options
context:
space:
mode:
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 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.