Fix KASSERT syntax error.
This commit is contained in:
parent
09139a4537
commit
6f46bf604d
@ -2375,7 +2375,7 @@ ti_detach(dev)
|
|||||||
return EBUSY;
|
return EBUSY;
|
||||||
|
|
||||||
sc = device_get_softc(dev);
|
sc = device_get_softc(dev);
|
||||||
KASSERT(mtx_initialized(&sc->ti_mtx), "ti mutex not initialized");
|
KASSERT(mtx_initialized(&sc->ti_mtx), ("ti mutex not initialized"));
|
||||||
TI_LOCK(sc);
|
TI_LOCK(sc);
|
||||||
ifp = &sc->arpcom.ac_if;
|
ifp = &sc->arpcom.ac_if;
|
||||||
|
|
||||||
|
@ -2375,7 +2375,7 @@ ti_detach(dev)
|
|||||||
return EBUSY;
|
return EBUSY;
|
||||||
|
|
||||||
sc = device_get_softc(dev);
|
sc = device_get_softc(dev);
|
||||||
KASSERT(mtx_initialized(&sc->ti_mtx), "ti mutex not initialized");
|
KASSERT(mtx_initialized(&sc->ti_mtx), ("ti mutex not initialized"));
|
||||||
TI_LOCK(sc);
|
TI_LOCK(sc);
|
||||||
ifp = &sc->arpcom.ac_if;
|
ifp = &sc->arpcom.ac_if;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user