diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/tty_compat.c | 6 | ||||
-rw-r--r-- | sys/netinet/udp_usrreq.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/tty_compat.c b/sys/kern/tty_compat.c index 13c267d..315d275 100644 --- a/sys/kern/tty_compat.c +++ b/sys/kern/tty_compat.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tty_compat.c 8.1 (Berkeley) 6/10/93 - * $Id: tty_compat.c,v 1.24 1997/12/06 13:23:58 bde Exp $ + * $Id: tty_compat.c,v 1.25 1997/12/16 17:40:26 eivind Exp $ */ #include "opt_compat.h" @@ -302,12 +302,12 @@ ttcompatgetflags(tp) if ((lflag&ICANON) == 0) { /* fudge */ if (iflag&(INPCK|ISTRIP|IXON) || lflag&(IEXTEN|ISIG) - || cflag&(CSIZE|PARENB) != CS8) + || (cflag&(CSIZE|PARENB)) != CS8) flags |= CBREAK; else flags |= RAW; } - if (!(flags&RAW) && !(oflag&OPOST) && cflag&(CSIZE|PARENB) == CS8) + if (!(flags&RAW) && !(oflag&OPOST) && (cflag&(CSIZE|PARENB)) == CS8) flags |= LITOUT; if (cflag&MDMBUF) flags |= MDMBUF; diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 6bd21db..91981c1 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95 - * $Id: udp_usrreq.c,v 1.41 1997/10/28 15:58:54 bde Exp $ + * $Id: udp_usrreq.c,v 1.42 1997/12/19 23:46:21 bde Exp $ */ #include <sys/param.h> @@ -246,7 +246,7 @@ udp_input(m, iphlen) * port. It * assumes that an application will never * clear these options after setting them. */ - if ((last->inp_socket->so_options&(SO_REUSEPORT|SO_REUSEADDR) == 0)) + if ((last->inp_socket->so_options&(SO_REUSEPORT|SO_REUSEADDR)) == 0) break; } |