aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2024-04-21 07:47:24 +0000
committerGordon Bergling <gbe@FreeBSD.org>2024-04-28 05:22:44 +0000
commitf3e5aa50fc46f3a96411f9424653d210c9792866 (patch)
tree0b13116a9b6db6921ee6d979ae3215f540696e30
parentcd79c46103aadae5c04e3c01b936a7fdefa899c8 (diff)
downloadsrc-stable/12.tar.gz
src-stable/12.zip
wtap: Fix typos in kernel messagesstable/12
- s/cant/can't/ (cherry picked from commit 026520a5f2d2ec01e19494c37b87448df86ef21a)
-rw-r--r--sys/dev/wtap/if_wtap.c2
-rw-r--r--sys/dev/wtap/wtap_hal/hal.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c
index 8f50c00a1f11..1ba2adf1f51a 100644
--- a/sys/dev/wtap/if_wtap.c
+++ b/sys/dev/wtap/if_wtap.c
@@ -571,7 +571,7 @@ wtap_transmit(struct ieee80211com *ic, struct mbuf *m)
struct wtap_vap *avp = WTAP_VAP(vap);
if(ni == NULL){
- printf("m->m_pkthdr.rcvif is NULL we cant radiotap_tx\n");
+ printf("m->m_pkthdr.rcvif is NULL we can't radiotap_tx\n");
}else{
if (ieee80211_radiotap_active_vap(vap))
ieee80211_radiotap_tx(vap, m);
diff --git a/sys/dev/wtap/wtap_hal/hal.c b/sys/dev/wtap/wtap_hal/hal.c
index b76fae1d6299..fb21833ac739 100644
--- a/sys/dev/wtap/wtap_hal/hal.c
+++ b/sys/dev/wtap/wtap_hal/hal.c
@@ -190,7 +190,7 @@ new_wtap(struct wtap_hal *hal, int32_t id)
MTX_DEF | MTX_RECURSE);
if(wtap_attach(hal->hal_devs[id], macaddr)){
- printf("%s, cant alloc new wtap\n", __func__);
+ printf("%s, can't alloc new wtap\n", __func__);
return -1;
}
@@ -208,7 +208,7 @@ free_wtap(struct wtap_hal *hal, int32_t id)
}
if(wtap_detach(hal->hal_devs[id]))
- printf("%s, cant alloc new wtap\n", __func__);
+ printf("%s, can't alloc new wtap\n", __func__);
mtx_destroy(&hal->hal_devs[id]->sc_mtx);
free(hal->hal_devs[id], M_WTAP);
hal->hal_devs[id] = NULL;