summaryrefslogtreecommitdiffstats
path: root/sys/i4b
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2001-12-30 19:37:41 +0000
committerjoerg <joerg@FreeBSD.org>2001-12-30 19:37:41 +0000
commit77b9e506a953190cc214ca45ac65e5139c258ad1 (patch)
tree8b7edc8c1a9b09fc500ecbaa2c08b5022840a73c /sys/i4b
parent1088528f87605f7bc0259fe29499b5fea33a8fba (diff)
downloadFreeBSD-src-77b9e506a953190cc214ca45ac65e5139c258ad1.zip
FreeBSD-src-77b9e506a953190cc214ca45ac65e5139c258ad1.tar.gz
Fix two typos in previous commit.
Diffstat (limited to 'sys/i4b')
-rw-r--r--sys/i4b/driver/i4b_ing.c2
-rw-r--r--sys/i4b/layer1/iwic/i4b_iwic_bchan.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/i4b/driver/i4b_ing.c b/sys/i4b/driver/i4b_ing.c
index d9aca31..843aff2 100644
--- a/sys/i4b/driver/i4b_ing.c
+++ b/sys/i4b/driver/i4b_ing.c
@@ -246,7 +246,7 @@ i4bingattach(void *dummy)
sc->sc_state = ST_IDLE;
sc->sc_fastq.ifq_maxlen = I4BINGMAXQLEN;
- if(!mtx_initiallized(&sc->sc_fastq.ifq_mtx))
+ if(!mtx_initialized(&sc->sc_fastq.ifq_mtx))
mtx_init(&sc->sc_fastq.ifq_mtx, "i4b_ing_fastq", MTX_DEF);
#if I4BINGACCT
diff --git a/sys/i4b/layer1/iwic/i4b_iwic_bchan.c b/sys/i4b/layer1/iwic/i4b_iwic_bchan.c
index 25cd1e2..2856992 100644
--- a/sys/i4b/layer1/iwic/i4b_iwic_bchan.c
+++ b/sys/i4b/layer1/iwic/i4b_iwic_bchan.c
@@ -454,7 +454,7 @@ iwic_bchannel_setup(int unit, int chan_no, int bprot, int activate)
chan->tx_queue.ifq_maxlen = IFQ_MAXLEN;
#if defined (__FreeBSD__) && __FreeBSD__ > 4
- if(!mtx_initqialized(&chan->tx_queue.ifq_mtx))
+ if(!mtx_initialized(&chan->tx_queue.ifq_mtx))
mtx_init(&chan->tx_queue.ifq_mtx, "i4b_iwic_tx", MTX_DEF);
#endif
OpenPOWER on IntegriCloud