summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ex/if_exvar.h2
-rw-r--r--sys/dev/firewire/fwdma.c2
-rw-r--r--sys/netnatm/natm.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ex/if_exvar.h b/sys/dev/ex/if_exvar.h
index 5e2f001..9df9886 100644
--- a/sys/dev/ex/if_exvar.h
+++ b/sys/dev/ex/if_exvar.h
@@ -113,6 +113,6 @@ void ex_stop(struct ex_softc *);
#define EX_LOCK_INIT(_sc) \
mtx_init(&_sc->sc_mtx, device_get_nameunit(_sc->dev), \
MTX_NETWORK_LOCK, MTX_DEF)
-#define EX_LOCK_DESTORY(_sc) mtx_destroy(&_sc->sc_mtx);
+#define EX_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
#define EX_ASSERT_LOCKED(_sc) mtx_assert(&_sc->sc_mtx, MA_OWNED);
#define EX_ASSERT_UNLOCKED(_sc) mtx_assert(&_sc->sc_mtx, MA_NOTOWNED);
diff --git a/sys/dev/firewire/fwdma.c b/sys/dev/firewire/fwdma.c
index c64dbe6..2c84ebc 100644
--- a/sys/dev/firewire/fwdma.c
+++ b/sys/dev/firewire/fwdma.c
@@ -104,7 +104,7 @@ fwdma_malloc(struct firewire_comm *fc, int alignment, bus_size_t size,
flag, &dma->dma_map);
if (err) {
printf("fwdma_malloc: failed(2)\n");
- /* XXX destory tag */
+ /* XXX destroy tag */
return(NULL);
}
diff --git a/sys/netnatm/natm.h b/sys/netnatm/natm.h
index 8a3fdc1..5603b9e 100644
--- a/sys/netnatm/natm.h
+++ b/sys/netnatm/natm.h
@@ -74,7 +74,7 @@ struct natmpcb {
#define NPCB_FREE 0x01 /* free (not on any list) */
#define NPCB_CONNECTED 0x02 /* connected */
#define NPCB_IP 0x04 /* used by IP */
-#define NPCB_DRAIN 0x08 /* destory as soon as inq == 0 */
+#define NPCB_DRAIN 0x08 /* destroy as soon as inq == 0 */
/* flag arg to npcb_free */
#define NPCB_REMOVE 0 /* remove from global list */
OpenPOWER on IntegriCloud