Author: yongari
Date: Tue Apr  2 00:57:54 2013
New Revision: 248993
URL: http://svnweb.freebsd.org/changeset/base/248993

Log:
  Fix a typo.
  
  Reported by:  David Imhoff via brad@OpenBSD
  Tested by:    hrs
  Reviewed by:  davidch

Modified:
  head/sys/dev/bge/if_bge.c

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c   Tue Apr  2 00:11:35 2013        (r248992)
+++ head/sys/dev/bge/if_bge.c   Tue Apr  2 00:57:54 2013        (r248993)
@@ -680,7 +680,7 @@ bge_ape_lock_init(struct bge_softc *sc)
                        bit = BGE_APE_LOCK_GRANT_DRIVER0;
                        break;
                default:
-                       if (sc->bge_func_addr != 0)
+                       if (sc->bge_func_addr == 0)
                                bit = BGE_APE_LOCK_GRANT_DRIVER0;
                        else
                                bit = (1 << sc->bge_func_addr);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to