Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern foo & ~bar, not foo &~ bar. From Henning Petersen i...



details:   https://anonhg.NetBSD.org/src/rev/d41dafe80b00
branches:  trunk
changeset: 818360:d41dafe80b00
user:      dholland <dholland%NetBSD.org@localhost>
date:      Mon Oct 10 01:22:51 2016 +0000

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

diffstat:

 sys/kern/uipc_socket.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c1456947645e -r d41dafe80b00 sys/kern/uipc_socket.c
--- a/sys/kern/uipc_socket.c    Mon Oct 10 01:22:08 2016 +0000
+++ b/sys/kern/uipc_socket.c    Mon Oct 10 01:22:51 2016 +0000
@@ -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 @@
        if (controlp != NULL)
                *controlp = NULL;
        if (flagsp != NULL)
-               flags = *flagsp &~ MSG_EOR;
+               flags = *flagsp & ~MSG_EOR;
        else
                flags = 0;
 



Home | Main Index | Thread Index | Old Index