Module Name:    src
Committed By:   dholland
Date:           Mon Oct 10 01:22:51 UTC 2016

Modified Files:
        src/sys/kern: uipc_socket.c

Log Message:
foo & ~bar, not foo &~ bar. From Henning Petersen in PR 49636.


To generate a diff of this commit:
cvs rdiff -u -r1.250 -r1.251 src/sys/kern/uipc_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/uipc_socket.c
diff -u src/sys/kern/uipc_socket.c:1.250 src/sys/kern/uipc_socket.c:1.251
--- src/sys/kern/uipc_socket.c:1.250	Mon Oct 10 01:22:08 2016
+++ src/sys/kern/uipc_socket.c	Mon Oct 10 01:22:51 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: uipc_socket.c,v 1.250 2016/10/10 01:22:08 dholland Exp $	*/
+/*	$NetBSD: uipc_socket.c,v 1.251 2016/10/10 01:22:51 dholland Exp $	*/
 
 /*-
  * Copyright (c) 2002, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.250 2016/10/10 01:22:08 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.251 2016/10/10 01:22:51 dholland Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -1175,7 +1175,7 @@ soreceive(struct socket *so, struct mbuf
 	if (controlp != NULL)
 		*controlp = NULL;
 	if (flagsp != NULL)
-		flags = *flagsp &~ MSG_EOR;
+		flags = *flagsp & ~MSG_EOR;
 	else
 		flags = 0;
 

Reply via email to