summaryrefslogtreecommitdiffstats
path: root/sys/dev/etherswitch
diff options
context:
space:
mode:
authorray <ray@FreeBSD.org>2012-10-11 21:19:42 +0000
committerray <ray@FreeBSD.org>2012-10-11 21:19:42 +0000
commita4ce9b8e4a1ea4971e87418c6a9cf73b65432761 (patch)
tree3ade4cf7b20a0e2d069e1f01234346f1afe4c78a /sys/dev/etherswitch
parentbd5be964dabf4e014775818171144701add7d322 (diff)
downloadFreeBSD-src-a4ce9b8e4a1ea4971e87418c6a9cf73b65432761.zip
FreeBSD-src-a4ce9b8e4a1ea4971e87418c6a9cf73b65432761.tar.gz
Fix tiypo.
Submitted by: Luiz Otavio O Souza Approved by: adrian (mentor)
Diffstat (limited to 'sys/dev/etherswitch')
-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