diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/ppp_tty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c index ed04fe7..d220acd 100644 --- a/sys/net/ppp_tty.c +++ b/sys/net/ppp_tty.c @@ -85,7 +85,6 @@ #include <sys/tty.h> #include <sys/conf.h> #include <sys/uio.h> -#include <sys/vnode.h> #ifdef PPP_FILTER #include <net/bpf.h> @@ -332,7 +331,7 @@ pppread(tp, uio, flag) splx(s); return 0; /* end of file */ } - if (tp->t_state & TS_ASYNC || flag & IO_NDELAY) { + if (tp->t_state & TS_ASYNC || flag & O_NONBLOCK) { splx(s); return (EWOULDBLOCK); } |