summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-09-15 19:34:12 +0000
committerru <ru@FreeBSD.org>2005-09-15 19:34:12 +0000
commitbe9315654564439e4fd9624284447f6abd62eddb (patch)
tree423bdc3fbd2541197154028012f89cffe1e6c2bd /sys
parentb729e912ca61300693d243d104d5956a07be67b3 (diff)
downloadFreeBSD-src-be9315654564439e4fd9624284447f6abd62eddb.zip
FreeBSD-src-be9315654564439e4fd9624284447f6abd62eddb.tar.gz
Spell "destroy" correctly.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sn/if_sn.c2
-rw-r--r--sys/dev/sn/if_snvar.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sn/if_sn.c b/sys/dev/sn/if_sn.c
index 51b818fd..b4dbd2e 100644
--- a/sys/dev/sn/if_sn.c
+++ b/sys/dev/sn/if_sn.c
@@ -235,7 +235,7 @@ sn_detach(device_t dev)
ether_ifdetach(ifp);
if_free(ifp);
sn_deactivate(dev);
- SN_LOCK_DESTORY(sc);
+ SN_LOCK_DESTROY(sc);
return 0;
}
diff --git a/sys/dev/sn/if_snvar.h b/sys/dev/sn/if_snvar.h
index 2ff41b6..048f23a 100644
--- a/sys/dev/sn/if_snvar.h
+++ b/sys/dev/sn/if_snvar.h
@@ -75,7 +75,7 @@ void sn_deactivate(device_t);
#define SN_LOCK_INIT(_sc) \
mtx_init(&_sc->sc_mtx, device_get_nameunit(_sc->dev), \
MTX_NETWORK_LOCK, MTX_DEF)
-#define SN_LOCK_DESTORY(_sc) mtx_destroy(&_sc->sc_mtx);
+#define SN_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
#define SN_ASSERT_LOCKED(_sc) mtx_assert(&_sc->sc_mtx, MA_OWNED);
#define SN_ASSERT_UNLOCKED(_sc) mtx_assert(&_sc->sc_mtx, MA_NOTOWNED);
OpenPOWER on IntegriCloud