From nobody Sun Apr 21 07:47:49 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VMgTd2K45z5HjXF; Sun, 21 Apr 2024 07:47:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VMgTd1V90z4g9v; Sun, 21 Apr 2024 07:47:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713685669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wkoFcPCpMeNNjtb9f3TEcjopDduKFVT2j2WinY3Pg5I=; b=AzmoCOmRBLIyGHEEUwd4dYak6YNcJxCJptWyAkPKTem7aSKdCpyYlRyaUIrqGf37sdm6qp OKcsHC3jyTSaHKsb/ZvdXbjdDp+RSfu4CCJVB3RblFrOWJlS9Yhn69RR7OudR7uFYTgmqi /1cWrat3Rw1wy8sIsU/Z/05DnphsP5UoLUchC0fJweTkMUH03nGX6wm4VcIYvp7DIEMDiW 29T0FNcl3sUlhL9iHR+yXXeO05LJhAkw9IlfVNkf5hV5GPjIfgQXEvsfVfRbfrpY9gOhnl k1M5xd+PtEoelIZePi9ksdaOqltKQa/9oLnCDZqFiLPxM46C32z5FL9fxiCjUA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713685669; a=rsa-sha256; cv=none; b=a0afxhqvX+jglgr2ouFI4HG4WRdOac6J5SPxgbq69ysAzohwZ+01aqICBoHjMjJUYoNntz w/LfyW9I+OXlGZxpjljluid/Dd9F1VtgXiyHlxNVLABI6uCP1mDUJcuRP05ETIamg4U3DJ C/ulfgy1jq85hhs51G0tFJrfuxP8mqvyfaFOp1Y0iQYryIJJ+/norqPKGUABM14+dl98Ia X/rR7/CYI5m06XwBsNZZOxcAkHyaT4/lL7P7IACtqNMAwQ3q59pZuRroxQahlT/Rc1nkoh 8HsUJqRLw6afR+ZZVYc/hiPjy402gMdRqHKqfKxkGjk5gq/SOh9k/tTG7agQZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713685669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wkoFcPCpMeNNjtb9f3TEcjopDduKFVT2j2WinY3Pg5I=; b=vkNWwtSYNjER30Lw8ssPbinFKZht3VJLZl3YpNPlQAeWeCtzoSJrVkFP/oYfgy4SSAUd14 bomQM3reM8FYCbdTlFPU5Yi0DrYxqN76VHtSmeB5oz9RY2TJTjuxVUapmglzem/hIbQAvu GGjFcKDfY+uGflIvtKEGjP8cPkBTvDmDaVcgA6LIKhdfucMBw7GPl8AFAKlEj2qMT+vW2w Wrj4OvBj/OZipAMP2J2atipDYIE3G1dRuwjyRWDSAJcdp10bfjRixWLAKgkF5Mrtf08l19 L8s8mvWUHfwQeJ+5c9teJqSuE+NpeWeVs6yRo7OJ0wEnWnjJasOt4l+ooF9www== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VMgTd159cz1Bjw; Sun, 21 Apr 2024 07:47:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43L7ln4v073277; Sun, 21 Apr 2024 07:47:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43L7lnpA073274; Sun, 21 Apr 2024 07:47:49 GMT (envelope-from git) Date: Sun, 21 Apr 2024 07:47:49 GMT Message-Id: <202404210747.43L7lnpA073274@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 026520a5f2d2 - main - wtap: Fix typos in kernel messages List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 026520a5f2d2ec01e19494c37b87448df86ef21a Auto-Submitted: auto-generated The branch main has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=026520a5f2d2ec01e19494c37b87448df86ef21a commit 026520a5f2d2ec01e19494c37b87448df86ef21a Author: Gordon Bergling AuthorDate: 2024-04-21 07:47:24 +0000 Commit: Gordon Bergling 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;