summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_sk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_sk.c')
-rw-r--r--sys/pci/if_sk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c
index 2ceaac4..4406b54 100644
--- a/sys/pci/if_sk.c
+++ b/sys/pci/if_sk.c
@@ -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)) {
OpenPOWER on IntegriCloud