Fix a typo.

Reported by:	David Imhoff via brad@OpenBSD
Tested by:	hrs
Reviewed by:	davidch
This commit is contained in:
Pyun YongHyeon 2013-04-02 00:57:54 +00:00
parent b3cc74dc3b
commit bd9c196a87
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248993

View file

@ -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);