summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/etherswitch/arswitch/arswitchvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/etherswitch/arswitch/arswitchvar.h b/sys/dev/etherswitch/arswitch/arswitchvar.h
index 4121161..40e38a4 100644
--- a/sys/dev/etherswitch/arswitch/arswitchvar.h
+++ b/sys/dev/etherswitch/arswitch/arswitchvar.h
@@ -70,7 +70,7 @@ struct arswitch_softc {
#define ARSWITCH_UNLOCK(_sc) \
mtx_unlock(&(_sc)->sc_mtx)
#define ARSWITCH_LOCK_ASSERT(_sc, _what) \
- mtx_assert(&(_s)c->sc_mtx, (_what))
+ mtx_assert(&(_sc)->sc_mtx, (_what))
#define ARSWITCH_TRYLOCK(_sc) \
mtx_trylock(&(_sc)->sc_mtx)
OpenPOWER on IntegriCloud