mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Fix a typo.
Reported by: David Imhoff via brad@OpenBSD Tested by: hrs Reviewed by: davidch
This commit is contained in:
parent
b3cc74dc3b
commit
bd9c196a87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248993
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue