The branch main has been updated by gbe:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=026520a5f2d2ec01e19494c37b87448df86ef21a

commit 026520a5f2d2ec01e19494c37b87448df86ef21a
Author:     Gordon Bergling <g...@freebsd.org>
AuthorDate: 2024-04-21 07:47:24 +0000
Commit:     Gordon Bergling <g...@freebsd.org>
CommitDate: 2024-04-21 07:47:24 +0000

    wtap: Fix typos in kernel messages
    
    - s/cant/can't/
    
    MFC after:      1 week
---
 sys/dev/wtap/if_wtap.c      | 2 +-
 sys/dev/wtap/wtap_hal/hal.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c
index 040fc340cb13..f9e0c2a7e5c4 100644
--- a/sys/dev/wtap/if_wtap.c
+++ b/sys/dev/wtap/if_wtap.c
@@ -595,7 +595,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 422def943d34..1e23b99bc272 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;

Reply via email to