summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-01 08:10:21 +0000
committerphk <phk@FreeBSD.org>2003-04-01 08:10:21 +0000
commit0bafba46a2e8ee2d4fd220f149d08306f11d0f4d (patch)
treeb7497624a7141f8c1869ff2350b3ddfe81c0a2ce /sys/pci
parent80780d2ba2c092f606651c4fb2a30b3170778c46 (diff)
downloadFreeBSD-src-0bafba46a2e8ee2d4fd220f149d08306f11d0f4d.zip
FreeBSD-src-0bafba46a2e8ee2d4fd220f149d08306f11d0f4d.tar.gz
Fix KASSERT syntax errors.
Please compile LINT before commiting.
Diffstat (limited to 'sys/pci')
-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