Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb PR/50950: David Binderman: Fix misplaced parens



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

description:
PR/50950: David Binderman: Fix misplaced parens

diffstat:

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

diffs (27 lines):

diff -r f0e514498610 -r 66c6c9c68005 sys/dev/usb/if_upgt.c
--- a/sys/dev/usb/if_upgt.c     Fri Mar 11 18:34:15 2016 +0000
+++ b/sys/dev/usb/if_upgt.c     Fri Mar 11 18:34:59 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_upgt.c,v 1.12 2014/05/27 13:44:25 ryoon Exp $       */
+/*     $NetBSD: if_upgt.c,v 1.13 2016/03/11 18:34:59 christos Exp $    */
 /*     $OpenBSD: if_upgt.c,v 1.49 2010/04/20 22:05:43 tedu Exp $ */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_upgt.c,v 1.12 2014/05/27 13:44:25 ryoon Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_upgt.c,v 1.13 2016/03/11 18:34:59 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/callout.h>
@@ -1311,7 +1311,7 @@
 
        DPRINTF(1, "%s: %s\n", device_xname(sc->sc_dev), __func__);
 
-       if ((error = ieee80211_media_change(ifp) != ENETRESET))
+       if ((error = ieee80211_media_change(ifp)) != ENETRESET)
                return error;
 
        if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) ==



Home | Main Index | Thread Index | Old Index