Fix KASSERT syntax errors.

Please compile LINT before commiting.
This commit is contained in:
Poul-Henning Kamp 2003-04-01 08:10:21 +00:00
parent 4a1e273c48
commit c8d01707ba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112928
2 changed files with 4 additions and 4 deletions

View File

@ -1376,7 +1376,7 @@ sk_detach_xmac(dev)
sc = device_get_softc(device_get_parent(dev));
sc_if = device_get_softc(dev);
KASSERT(mtx_initialized(&sc_if->sk_softc->sk_mtx),
"sk mutex not initialized in sk_detach_xmac");
("sk mutex not initialized in sk_detach_xmac"));
SK_IF_LOCK(sc_if);
ifp = &sc_if->arpcom.ac_if;
@ -1405,7 +1405,7 @@ sk_detach(dev)
struct sk_softc *sc;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->sk_mtx), "sk mutex not initialized");
KASSERT(mtx_initialized(&sc->sk_mtx), ("sk mutex not initialized"));
SK_LOCK(sc);
if (device_is_alive(dev)) {

View File

@ -1376,7 +1376,7 @@ sk_detach_xmac(dev)
sc = device_get_softc(device_get_parent(dev));
sc_if = device_get_softc(dev);
KASSERT(mtx_initialized(&sc_if->sk_softc->sk_mtx),
"sk mutex not initialized in sk_detach_xmac");
("sk mutex not initialized in sk_detach_xmac"));
SK_IF_LOCK(sc_if);
ifp = &sc_if->arpcom.ac_if;
@ -1405,7 +1405,7 @@ sk_detach(dev)
struct sk_softc *sc;
sc = device_get_softc(dev);
KASSERT(mtx_initialized(&sc->sk_mtx), "sk mutex not initialized");
KASSERT(mtx_initialized(&sc->sk_mtx), ("sk mutex not initialized"));
SK_LOCK(sc);
if (device_is_alive(dev)) {