Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pcmcia PR/50949: David Binderman: Fix misplaced parens.



details:   https://anonhg.NetBSD.org/src/rev/be3cf1366fd7
branches:  trunk
changeset: 344056:be3cf1366fd7
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 11 18:34:15 2016 +0000

description:
PR/50949: David Binderman: Fix misplaced parens.

diffstat:

 sys/dev/pcmcia/if_malo_pcmcia.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 035fd6800cad -r be3cf1366fd7 sys/dev/pcmcia/if_malo_pcmcia.c
--- a/sys/dev/pcmcia/if_malo_pcmcia.c   Fri Mar 11 18:33:18 2016 +0000
+++ b/sys/dev/pcmcia/if_malo_pcmcia.c   Fri Mar 11 18:34:15 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_malo_pcmcia.c,v 1.8 2016/02/09 08:32:11 ozaki-r Exp $       */
+/*     $NetBSD: if_malo_pcmcia.c,v 1.9 2016/03/11 18:34:15 christos Exp $      */
 /*      $OpenBSD: if_malo.c,v 1.65 2009/03/29 21:53:53 sthen Exp $ */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_malo_pcmcia.c,v 1.8 2016/02/09 08:32:11 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_malo_pcmcia.c,v 1.9 2016/03/11 18:34:15 christos Exp $");
 
 #ifdef _MODULE
 #include <sys/module.h>
@@ -634,7 +634,7 @@
 {
        int error;
 
-       if ((error = ieee80211_media_change(ifp) != ENETRESET))
+       if ((error = ieee80211_media_change(ifp))_ != ENETRESET)
                return error;
 
        if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) == (IFF_UP | IFF_RUNNING))



Home | Main Index | Thread Index | Old Index