Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2024 05:21:53 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 5f9d770bdce7 - stable/13 - wtap: Fix typos in kernel messages
Message-ID:  <202404280521.43S5LrtL002228@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=5f9d770bdce792cac5f5b4bd4db5c69c5b02821c

commit 5f9d770bdce792cac5f5b4bd4db5c69c5b02821c
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-04-21 07:47:24 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-04-28 05:21:33 +0000

    wtap: Fix typos in kernel messages
    
    - s/cant/can't/
    
    (cherry picked from commit 026520a5f2d2ec01e19494c37b87448df86ef21a)
---
 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 08f840c6dc0c..05487572c242 100644
--- a/sys/dev/wtap/if_wtap.c
+++ b/sys/dev/wtap/if_wtap.c
@@ -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);
diff --git a/sys/dev/wtap/wtap_hal/hal.c b/sys/dev/wtap/wtap_hal/hal.c
index 14041ec2b89c..46c67f8e1a3a 100644
--- a/sys/dev/wtap/wtap_hal/hal.c
+++ b/sys/dev/wtap/wtap_hal/hal.c
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404280521.43S5LrtL002228>