mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-02 22:54:52 +00:00
wtap: Fix typos in kernel messages
- s/cant/can't/
(cherry picked from commit 026520a5f2
)
This commit is contained in:
parent
fba90651e4
commit
5f9d770bdc
|
@ -538,7 +538,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);
|
||||
|
|
|
@ -188,7 +188,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;
|
||||
}
|
||||
|
||||
|
@ -206,7 +206,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;
|
||||
|
|
Loading…
Reference in a new issue